Update .gitlab-ci.yml
This commit is contained in:
parent
f4d01aa489
commit
b03e80aa85
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue