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>
dev
Pekka Paalanen 5 years ago
parent 092130c4bf
commit a79c917466
  1. 12
      .gitlab-ci.yml

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

Loading…
Cancel
Save