Trigger docs server

This commit is contained in:
Bjarne von Horn 2023-04-08 16:30:07 +00:00
parent c022ddbcf2
commit 1a1a15758f
1 changed files with 15 additions and 2 deletions

View File

@ -1,6 +1,12 @@
image: image:
registry.gitlab.com/etherlab.org/build-container-factory/leap-15.3:linux-syms registry.gitlab.com/etherlab.org/build-container-factory/leap-15.3:linux-syms
stages:
- build
- test
- doc
- deploy
build: build:
stage: build stage: build
@ -43,7 +49,7 @@ test cmake:
# It must be named 'doxygen' and must produce an artifact with a 'html' # It must be named 'doxygen' and must produce an artifact with a 'html'
# directory directly containing the doxygen index HTML. # directory directly containing the doxygen index HTML.
doxygen: doxygen:
stage: deploy stage: doc
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
script: script:
@ -59,7 +65,7 @@ doxygen:
# It must be named 'pdf' and must produce a 'pdf' directory as an artifact. # It must be named 'pdf' and must produce a 'pdf' directory as an artifact.
# All PDF files in this directory will be collected. # All PDF files in this directory will be collected.
pdf: pdf:
stage: deploy stage: doc
image: registry.gitlab.com/etherlab.org/build-container-factory/leap-15.3:texlive image: registry.gitlab.com/etherlab.org/build-container-factory/leap-15.3:texlive
script: script:
- cd documentation - cd documentation
@ -73,6 +79,13 @@ pdf:
paths: paths:
- pdf/ - 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 # from 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml', but on all branches
workflow: workflow:
rules: rules: