docs/.gitlab-ci.yml

27 lines
389 B
YAML

#image: python:3.9.2-alpine
image: python
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