image: ruby:2.5

variables:
  JEKYLL_ENV: production

before_script:
  - bundle install && bundle update

pages:
  stage: deploy
  only:
    - develop
    - master
  script:
    - bash .ci/deploy.sh

  artifacts:
    expire_in: 1 week
    paths:
      - public
