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.
This commit is contained in:
Benjamin Berg 2020-05-11 19:09:33 +02:00
parent a464f602ca
commit 840bcc77a5

View file

@ -48,6 +48,11 @@ build:
<<: *build_one_driver <<: *build_one_driver
<<: *build <<: *build
# <<: *check_abi # <<: *check_abi
artifacts:
expose_as: "HTML Documentation"
paths:
- _build/doc/html/
expire_in: 1 week
test: test:
stage: test stage: test