docs/.gitlab-ci.yml
2023-01-02 23:23:49 +01:00

27 lines
414 B
YAML

#image: python:3.9.2-alpine
image: python:3.9.16-slim-bullseye
before_script:
- apt update && apt install git
- pip install -r requirements.txt
test:
stage: test
script:
- mkdocs build --strict --verbose --site-dir test
artifacts:
paths:
- test
except:
- master
pages:
stage: deploy
script:
- mkdocs build --strict --verbose
artifacts:
paths:
- public
only:
- master