26 lines
341 B
YAML
26 lines
341 B
YAML
|
image: python:3.8-buster
|
||
|
|
||
|
before_script:
|
||
|
- 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:
|
||
|
- site
|
||
|
only:
|
||
|
- master
|
||
|
|