image: ruby:2.5

variables:
  JEKYLL_ENV: production

before_script:
  - apt-get -qq update
  - apt-get install -y -qq git-lfs
  - bundle install && bundle update

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

  artifacts:
    expire_in: 1 week
    paths:
      - public
