ci: disable metrics during docs build

This commit is contained in:
Iain Learmonth 2022-11-15 14:40:48 +00:00
parent 62d87341ad
commit 928536a2d7

View file

@ -67,8 +67,8 @@ pages:
- 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
artifacts:
paths:
- public