image: ruby:2.4.2 stages: - build - deploy build: stage: build before_script: - gem install jekyll script: - jekyll build -d public artifacts: paths: - public deploy: stage: deploy before_script: - gem install jekyll script: - jekyll build -d public - ./bin/deploy artifacts: paths: - public only: - master - tags