Skip to content
Snippets Groups Projects
Commit 079fcc09 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: run pages only on gitlab.com

parent 254d4b51
No related branches found
No related tags found
1 merge request!2F doc version
Checking pipeline status
...@@ -92,15 +92,17 @@ build-testenv: ...@@ -92,15 +92,17 @@ build-testenv:
- docker push $CI_REGISTRY_IMAGE - docker push $CI_REGISTRY_IMAGE
# 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
# documentation:
# stage: deploy
# 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:
stage: deploy stage: deploy
only: only:
# TODO this should be for master only, once releases are more regularly refs:
- dev - dev
- master
- /^release-.*$/i
variables:
# run pages only on gitlab.com
- $CI_SERVER_HOST == "gitlab.com"
script: script:
- echo "Deploying" - echo "Deploying"
- make doc - make doc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment