-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.docs.yml
53 lines (42 loc) · 1.12 KB
/
.gitlab-ci.docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
# SPDX-License-Identifier: AGPL-3.0-only
# SPDX-FileCopyrightText: 2023 Univention GmbH
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "parent_pipeline"
include:
- project: "univention/documentation/sphinx-docker"
file: "pipeline/sphinx.yml"
docs-linkcheck:
extends: ".sphinx-linkcheck-template"
docs-spelling:
extends: ".sphinx-spelling-template"
docs-html:
extends: ".sphinx-html-template"
docs-pdf:
extends: ".sphinx-pdf-template"
docs-merge-to-one-artifact:
extends: ".sphinx-merge-template"
needs:
- job: "docs-html"
- job: "docs-pdf"
- job: "docs-spelling"
artifacts: false
- job: "docs-linkcheck"
artifacts: false
rules:
- if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH"
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
when: "manual"
docs-review:
extends: ".sphinx-review-template"
needs:
- job: "docs-merge-to-one-artifact"
docs-create-production-merge-request:
stage: "production"
extends: ".sphinx-docs-merge-request-template"
needs:
- job: "docs-merge-to-one-artifact"
rules:
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
...