CI: expose built docs preview
This adds a link in any MR to the documentation from the CI build, making it easy to preview the documentation. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
092130c4bf
commit
a79c917466
@ -96,6 +96,18 @@ build-native-meson-no-gl-renderer:
|
||||
-Dwerror=true
|
||||
extends: .build-native-meson
|
||||
|
||||
preview-docs:
|
||||
stage: pages
|
||||
script:
|
||||
- mv prefix-weston-build-native-meson-default-options/share/doc/weston Documentation
|
||||
- rm -rf build-* prefix-*
|
||||
dependencies:
|
||||
- build-native-meson-default-options
|
||||
artifacts:
|
||||
expose_as: 'Documentation preview'
|
||||
paths:
|
||||
- Documentation/
|
||||
|
||||
pages:
|
||||
stage: pages
|
||||
dependencies:
|
||||
|
Loading…
Reference in New Issue
Block a user