Add deploy job

parent e98ec345
Pipeline #439 passed with stages
in 25 seconds
variables:
TERM: linux
JEKYLL_ENV: production
before_script:
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"
......@@ -11,17 +16,17 @@ before_script:
- gem install jekyll
- gem install bundler
- bundle install
job:
stage: build
tags:
- jekyll
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