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