Website/.gitlab-ci.yml

27 lines
430 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
deploy:
stage: deploy
only:
- master
script:
- ln -s /var/www/static-site build
- rake deploy
artifacts:
paths:
- artifacts/*.pdf
- artifacts/db.json