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