Skip to content
Snippets Groups Projects
Commit 1a2e4a70 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

MAINT: Update .gitlab-ci.yml file, building docs only for releases

parent cb8b2fc3
No related branches found
No related tags found
2 merge requests!91Release 0.3,!89MAINT: Update .gitlab-ci.yml file to automatically build gitlab pages for the documentation
Pipeline #33044 passed
......@@ -286,9 +286,9 @@ pages_prepare: &pages_prepare
stage: deploy
needs: []
image: $CI_REGISTRY/caosdb/src/caosdb-pylib/testenv:latest
# only:
# refs:
# - /^release-.*$/i
only:
refs:
- /^release-.*$/i
script:
- echo "Deploying documentation"
- make doc
......@@ -298,6 +298,6 @@ pages_prepare: &pages_prepare
- public
pages:
<<: *pages_prepare
# only:
# refs:
# - main
only:
refs:
- main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment