ci: install docs requirements from file
This commit is contained in:
parent
143ed1f43a
commit
ad44101cfc
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ test:docs:
|
|||
- cp config.yaml.example config.yaml
|
||||
- apt update && apt install build-essential
|
||||
- pip install -r requirements.txt
|
||||
- pip install sphinx
|
||||
- pip install -r requirements-docs.txt
|
||||
- pushd docs && DISABLE_METRICS=true sphinx-build -b html . ../public && popd
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
||||
|
@ -69,7 +69,7 @@ pages:
|
|||
- cp config.yaml.example config.yaml
|
||||
- apt update && apt install build-essential
|
||||
- pip install -r requirements.txt
|
||||
- pip install sphinx
|
||||
- pip install -r requirements-docs.txt
|
||||
- pushd docs && DISABLE_METRICS=true sphinx-build -b html . ../public && popd
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue