From a79c9174669a62782d4f7e26699bf8cefda374b6 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 26 Nov 2019 14:14:58 +0200 Subject: [PATCH] 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 --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 315fc278..4e4572d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: