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" - "Contribution checks"
- "Prepare container" - "Prepare container"
- "Build and test" - "Build and test"
- "Publish"
check-mr: check-mr:
extends: .fdo.ci-fairy extends: .fdo.ci-fairy
@ -87,7 +88,7 @@ build-clang:
rules: rules:
- when: on_success - when: on_success
pages: build-docs:
extends: .fdo.distribution-image@alpine extends: .fdo.distribution-image@alpine
stage: "Build and test" stage: "Build and test"
script: script:
@ -97,6 +98,17 @@ pages:
artifacts: artifacts:
paths: paths:
- public/ - public/
rules:
- when: on_success
pages:
extends: .fdo.distribution-image@alpine
stage: "Publish"
script:
- "true"
artifacts:
paths:
- public/
rules: rules:
- if: '$CI_PROJECT_PATH == "emersion/libdisplay-info" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_PROJECT_PATH == "emersion/libdisplay-info" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: on_success when: on_success