Website/.gitlab-ci.yml

32 lines
461 B
YAML
Raw Normal View History

2016-07-09 12:55:05 -04:00
# This is a basic example for a gem or script which doesn't use
# services such as redis or postgres
before_script:
2016-07-09 13:57:26 -04:00
- export PATH=/software/ruby-2.3/bin:$PATH
2016-07-09 13:25:49 -04:00
- ruby --version
2016-07-09 12:55:05 -04:00
2016-07-09 16:10:51 -04:00
stages:
- build
- deploy
2016-07-09 12:55:05 -04:00
build:
2016-07-09 16:10:51 -04:00
stage: build
2016-07-09 12:55:05 -04:00
script:
2016-07-09 16:14:20 -04:00
- pwd
2016-07-09 12:55:05 -04:00
- rake
2016-07-09 14:59:48 -04:00
cvs:
2016-07-09 16:10:51 -04:00
stage: build
2016-07-09 14:59:48 -04:00
script:
- rake cv
artifacts:
paths:
2016-07-09 16:10:51 -04:00
- cvs/*.pdf
deploy:
stage: deploy
only:
- master
script:
2016-07-09 16:14:20 -04:00
- pwd
2016-07-09 16:10:51 -04:00
- rsync -av --safe-links build/ /var/www/static-site