From 840bcc77a57d4efa29857ae3b1882426d34c87f6 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Mon, 11 May 2020 19:09:33 +0200 Subject: [PATCH] ci: Export HTML documentation as artifacts We build the HTML documentation. For feature branches, it is convenient to be able to view the documentation easily. Expose them as artifacts and add a link to the browser underneath the pipeline in the MR. Unfortunately, it does not seem to be possible to link directly to the HTML. --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 52df2b2..1a0f9e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,6 +48,11 @@ build: <<: *build_one_driver <<: *build # <<: *check_abi + artifacts: + expose_as: "HTML Documentation" + paths: + - _build/doc/html/ + expire_in: 1 week test: stage: test