From 9f7cd85713cb5d1e0cd819b72f976e570311af2c Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Wed, 27 Apr 2022 14:32:12 +0100 Subject: [PATCH] ci: run sphinx-build in docs directory --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b12e832..98719ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ test: - pip install -r requirements.txt - pip install -U sphinx sphinx-press-theme sphinx-jsonschema - pushd scripts && python update_schemas.py && popd - - sphinx-build -b html docs public + - pushd docs && sphinx-build -b html . ../public && popd rules: - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH @@ -20,7 +20,7 @@ pages: - pip install -r requirements.txt - pip install -U sphinx sphinx-press-theme sphinx-jsonschema - pushd scripts && python update_schemas.py && popd - - sphinx-build -b html docs public + - pushd docs && sphinx-build -b html . ../public && popd artifacts: paths: - public