ci: disable metrics during docs test

This commit is contained in:
Iain Learmonth 2022-11-15 15:13:29 +00:00
parent 1f1f811330
commit 0a13b3ee75

View file

@ -15,8 +15,8 @@ test:docs:
- apt update && apt install build-essential
- pip install -r requirements.txt
- pip install -U sphinx sphinx-press-theme sphinx-jsonschema
- pushd scripts && python update_schemas.py && popd
- pushd docs && sphinx-build -b html . ../public && popd
- pushd scripts && DISABLE_METRICS=true python update_schemas.py && popd
- pushd docs && DISABLE_METRICS=true sphinx-build -b html . ../public && popd
rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH