image: python:3.8-bullseye test: stage: test script: - cp config.yaml.example config.yaml - apt update && apt install build-essential - pip install -r requirements.txt - pip install -U sphinx sphinx-press-theme sphinx-jsonschema - sphinx-build -b html docs public rules: - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH pages: stage: deploy script: - cp config.yaml.example config.yaml - apt update && apt install build-essential - pip install -r requirements.txt - pip install -U sphinx sphinx-press-theme sphinx-jsonschema - sphinx-build -b html docs public artifacts: paths: - public rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH