Files
i2p-docker-proxy/.gitlab-ci.yml
2020-12-04 23:38:16 +01:00

30 lines
435 B
YAML

image: python:3.6-buster
stages:
- test
- pages
.pages:
before_script:
- ./ci/install-drawio.sh
- apt-get install -qqqy graphviz
script:
- pip install -r docs/requirements.txt
- cd docs/ && make html
- mv _build/html/ ../public/
pages:
stage: pages
extends: .pages
artifacts:
paths:
- public/
only:
- master
test-pages:
stage: test
extends: .pages
only:
- merge_requests