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:
@@ -96,6 +96,18 @@ build-native-meson-no-gl-renderer:
|
|||||||
-Dwerror=true
|
-Dwerror=true
|
||||||
extends: .build-native-meson
|
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:
|
pages:
|
||||||
stage: pages
|
stage: pages
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user