summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2021-01-08 22:08:56 +0100
committerMarge Bot <eric+marge@anholt.net>2021-02-08 11:39:10 +0000
commitae8f9584f4c98bc9574145fedf2939361997c33e (patch)
treec6217f8f3c38a2a5ca325a9aa8feb94481111bff
parent6ac6e2fbfb47e737f2f823fec2931d80769acc33 (diff)
CI: always expose docs artifacts
This makes it easier to preview docs changes in merge-requests. Also make sure we build the docs right away, rather than waiting for when marge merges. This allows us to see the artifacts right away. Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8398>
-rw-r--r--.gitlab-ci.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d60cecce09e..9dd737bb328 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -115,13 +115,14 @@ test-docs-mr:
- test-docs
needs:
- sanity
+ artifacts:
+ expose_as: 'Documentation preview'
+ paths:
+ - public
rules:
- - if: *is-pre-merge-for-marge
- changes: *docs-or-ci
- when: on_success
- if: *is-pre-merge
changes: *docs-or-ci
- when: manual
+ when: on_success
# Other cases default to never
# When to automatically run the CI