ci: always build documentation
Signed-off-by: Sebastian Wick <[email protected]>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 84716e7..f387977 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,7 @@
- "Contribution checks"
- "Prepare container"
- "Build and test"
+ - "Publish"
check-mr:
extends: .fdo.ci-fairy
@@ -87,7 +88,7 @@
rules:
- when: on_success
-pages:
+build-docs:
extends: .fdo.distribution-image@alpine
stage: "Build and test"
script:
@@ -98,6 +99,17 @@
paths:
- public/
rules:
+ - when: on_success
+
+pages:
+ extends: .fdo.distribution-image@alpine
+ stage: "Publish"
+ script:
+ - "true"
+ artifacts:
+ paths:
+ - public/
+ rules:
- if: '$CI_PROJECT_PATH == "emersion/libdisplay-info" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: on_success
- when: never