mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-05 19:39:50 +08:00
Trigger docs server
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user