default:
  image: python:3.11-slim
  before_script:
    - cd $PROJECT_DIR

variables:
  PROJECT_DIR: "."

pages:
  stage: deploy
  script:
    - pip install pyyaml jinja2
    - python build.py
  pages: true
  artifacts:
    paths:
      - public
  rules:
    - if: $CI_COMMIT_BRANCH == "main"
