ci: install docs requirements from file

This commit is contained in:
Iain Learmonth 2024-12-02 12:32:05 +00:00
parent 143ed1f43a
commit ad44101cfc

View file

@ -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: