ci: run sphinx-build in docs directory
This commit is contained in:
parent
8f708072e8
commit
9f7cd85713
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue