ci: always build documentation

Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
This commit is contained in:
Sebastian Wick 2023-01-10 15:28:00 +01:00
parent c32df33fe7
commit 6c8d466c03

View file

@ -17,6 +17,7 @@ stages:
- "Contribution checks"
- "Prepare container"
- "Build and test"
- "Publish"
check-mr:
extends: .fdo.ci-fairy
@ -87,7 +88,7 @@ build-clang:
rules:
- when: on_success
pages:
build-docs:
extends: .fdo.distribution-image@alpine
stage: "Build and test"
script:
@ -97,6 +98,17 @@ pages:
artifacts:
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