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
- ./bin/deploy
only:
- tags