From 5d37f6b16c83e04568a68a9acd3adc0c8657dcc7 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Mon, 14 Nov 2022 13:22:53 -0800 Subject: [PATCH] ci/docs: Always expose the built docs. When testing my docs changes outside of an MR, there was no way to look at the result. Acked-by: Erik Faye-Lund Part-of: --- .gitlab-ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7c7236..196a3f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -135,6 +135,10 @@ stages: extends: - .fdo.ci-fairy - .build-rules + artifacts: + expose_as: 'Documentation preview' + paths: + - public/ script: - apk --no-cache add graphviz doxygen - pip3 install sphinx===5.1.1 breathe===4.34.0 mako===1.2.3 sphinx_rtd_theme===1.0.0 @@ -144,9 +148,6 @@ stages: pages: extends: .docs-base stage: deploy - artifacts: - paths: - - public needs: [] rules: - !reference [.no_scheduled_pipelines-rules, rules] @@ -175,10 +176,6 @@ test-docs-mr: - test-docs needs: - sanity - artifacts: - expose_as: 'Documentation preview' - paths: - - public/ rules: - if: *is-pre-merge changes: *docs-or-ci -- 2.7.4