site/.gitlab-ci.yml
2025-06-18 17:09:48 +02:00

15 lines
296 B
YAML

pages:
stage: deploy
image: python:latest
script:
- pip install -r ./requirements.txt
- mkdocs build --site-dir site
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- .cache/
artifacts:
paths:
- site
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'