30 lines
445 B
YAML
30 lines
445 B
YAML
# This is a basic example for a gem or script which doesn't use
|
|
# services such as redis or postgres
|
|
before_script:
|
|
- export PATH=/software/ruby-2.3/bin:$PATH
|
|
- ruby --version
|
|
|
|
stages:
|
|
- build
|
|
- deploy
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- rake
|
|
|
|
cvs:
|
|
stage: build
|
|
script:
|
|
- rake cv
|
|
artifacts:
|
|
paths:
|
|
- cvs/*.pdf
|
|
|
|
deploy:
|
|
stage: deploy
|
|
only:
|
|
- master
|
|
script:
|
|
- rsync -av --safe-links build/ /var/www/static-site
|