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>
This commit is contained in:
Erik Faye-Lund 2021-01-08 22:08:56 +01:00 committed by Marge Bot
parent 6ac6e2fbfb
commit ae8f9584f4

View file

@ -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