Trigger docs server

This commit is contained in:
Bjarne von Horn
2023-04-08 16:30:07 +00:00
parent c022ddbcf2
commit 1a1a15758f

View File

@@ -1,6 +1,12 @@
image:
registry.gitlab.com/etherlab.org/build-container-factory/leap-15.3:linux-syms
stages:
- build
- test
- doc
- deploy
build:
stage: build
@@ -43,7 +49,7 @@ test cmake:
# It must be named 'doxygen' and must produce an artifact with a 'html'
# directory directly containing the doxygen index HTML.
doxygen:
stage: deploy
stage: doc
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
@@ -59,7 +65,7 @@ doxygen:
# It must be named 'pdf' and must produce a 'pdf' directory as an artifact.
# All PDF files in this directory will be collected.
pdf:
stage: deploy
stage: doc
image: registry.gitlab.com/etherlab.org/build-container-factory/leap-15.3:texlive
script:
- cd documentation
@@ -73,6 +79,13 @@ pdf:
paths:
- pdf/
# Trigger EtherLab Documentation project to update https://docs.etherlab.org
update docs server:
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_NAMESPACE == "etherlab.org"
trigger: etherlab.org/docs
# from 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml', but on all branches
workflow:
rules: