mirror of
https://gitlab.com/fabinfra/fabaccess/docs.git
synced 2024-11-20 05:57:56 +01:00
25 lines
424 B
YAML
25 lines
424 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
|
||
|
rules:
|
||
|
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
||
|
|
||
|
pages:
|
||
|
stage: deploy
|
||
|
script:
|
||
|
- mkdocs build --strict --verbose
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- public
|
||
|
rules:
|
||
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|