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