Add deploy job

parent e98ec345
Pipeline #439 passed with stages
in 25 seconds
variables: variables:
TERM: linux TERM: linux
JEKYLL_ENV: production
before_script: build:
- 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:
stage: build stage: build
tags: tags:
- jekyll - 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: script:
- bundle exec jekyll build - bundle exec jekyll build
artifacts: artifacts:
paths: paths:
- _site - _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