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

17 lines
340 B
YAML

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