fix: generate docs when merging into master branch
This commit is contained in:
parent
802372a504
commit
62fb637978
@ -12,20 +12,6 @@ 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: build
|
||||
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
|
||||
@ -35,6 +21,10 @@ stages:
|
||||
- integration-tests
|
||||
- release
|
||||
|
||||
pages:
|
||||
only:
|
||||
- master # KEEP THIS, necessary because `master` branch and not `main` branch
|
||||
|
||||
###################
|
||||
# INTEGRATION TESTS
|
||||
trigger-integration-tests:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user