image: ruby:3.0

stages:
  - build

variables:
  JEKYLL_ENV: production
  
before_script:
  - gem install bundler jekyll --no-document

build:
  stage: build
  script:
    - bundle install
    - bundle exec jekyll build
  artifacts:
    paths:
      - _site
    expire_in: 1d
