Update .gitlab-ci.yml

This commit is contained in:
Oliver Kennedy 2016-07-09 16:10:51 -04:00
parent f4d01aa489
commit b03e80aa85

View file

@ -4,14 +4,26 @@ before_script:
- export PATH=/software/ruby-2.3/bin:$PATH
- ruby --version
stages:
- build
- deploy
build:
stage: build
script:
- rake
- rsync -av --safe-links build/ /var/www/static-site
cvs:
stage: build
script:
- rake cv
artifacts:
paths:
- cvs/*.pdf
- cvs/*.pdf
deploy:
stage: deploy
only:
- master
script:
- rsync -av --safe-links build/ /var/www/static-site