Update .gitlab-ci.yml file

This commit is contained in:
Isaac Riley 2024-05-07 12:27:47 +02:00
parent f1f9e8d2bc
commit ceb1c00784

View File

@ -12,6 +12,20 @@ variables:
NEXUS_PROJECT_DIR: red # subfolder in Nexus docker-gin where your container will be stored
IMAGENAME: $CI_PROJECT_NAME # if the project URL is gitlab.example.com/group-name/project-1, CI_PROJECT_NAME is project-1
pages:
stage: unit-tests
before_script:
- !reference [.activate-venv, script]
script:
- sphinx-apidoc ./src -o ./docs/source/modules --no-toc --module-first --follow-links --separate --force
- sphinx-build -b html docs/source/ public/ -E -a
artifacts:
paths:
- public
# only:
# - main
stages:
- data
- setup