image: ruby:2.5 variables: JEKYLL_ENV: production before_script: - bundle install && bundle update test: stage: test script: - bundle exec jekyll build -d test artifacts: expire_in: 1 week paths: - test except: - master pages: stage: deploy script: - bundle exec jekyll build -d public artifacts: expire_in: 1 week paths: - public only: - master