docs/.gitlab-ci.yml
2022-04-30 15:35:27 +02:00

26 lines
374 B
YAML

image: python:3.9.2-alpine
before_script:
- apk update && apk add 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