From 1a1a15758f1ceaf6816f602495d53d658da183b8 Mon Sep 17 00:00:00 2001 From: Bjarne von Horn Date: Sat, 8 Apr 2023 16:30:07 +0000 Subject: [PATCH] Trigger docs server --- .gitlab-ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08857236..7c229bdf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: