Commit 9f9dc04d authored by Sébastien Villemot's avatar Sébastien Villemot

Add deploy job

parent e98ec345
Pipeline #439 passed with stages
in 25 seconds
variables:
TERM: linux
JEKYLL_ENV: production
before_script:
- export LC_ALL="C.UTF-8"
- export LANG="en_US.UTF-8"
- export LANGUAGE="en_US.UTF-8"
- export GEM_HOME=$HOME/gems
- export PATH=$HOME/gems/bin:$PATH
- gem install jekyll
- gem install bundler
- bundle install
job:
build:
stage: build
tags:
- jekyll
variables:
JEKYLL_ENV: production
before_script:
- export LC_ALL="C.UTF-8"
- export LANG="en_US.UTF-8"
- export LANGUAGE="en_US.UTF-8"
- export GEM_HOME=$HOME/gems
- export PATH=$HOME/gems/bin:$PATH
- gem install jekyll
- gem install bundler
- bundle install
script:
- bundle exec jekyll build
artifacts:
paths:
- _site
only:
- master
deploy:
stage: deploy
tags:
- secure
dependencies:
- build
script:
- scp -r _site/* dynbot@eris.dynare.org:/srv/www.dynare.org/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment