Skip to content
Snippets Groups Projects
Commit ab22614f authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: Cherry-picked .gitlab-ci.yml from release_doc and adapted.

Documentation should now be built for this branch as well for testing purposes.  Please remove
branch line from .gitlab-ci.yml before merging.
parent 4cabe61a
No related branches found
No related tags found
2 merge requests!21Release v0.4.0,!15Document server code structure
Pipeline #8193 failed
...@@ -76,16 +76,13 @@ trigger_build: ...@@ -76,16 +76,13 @@ trigger_build:
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages # Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages # Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
pages: pages_prepare: &pages_prepare
tags: [ cached-dind ] tags: [ cached-dind ]
stage: deploy stage: deploy
only: only:
refs: refs:
- /^release-.*$/i - /^release-.*$/i
- master - f-doc-structure
variables:
# run pages only on gitlab.com
- $CI_SERVER_HOST == "gitlab.com"
script: script:
- echo "Deploying" - echo "Deploying"
- make doc - make doc
...@@ -93,3 +90,8 @@ pages: ...@@ -93,3 +90,8 @@ pages:
artifacts: artifacts:
paths: paths:
- public - public
pages:
<<: *pages_prepare
only:
refs:
- main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment