Gitlab CI: add a 'docbuild' stage that zips the documentation

This doc is provided as artifact and can then be picked up by the wayland-web
deploy process. This does not yet trigger any update on the wayland-web
repository, it merely packages the zip file.

Fixes #74

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-07-02 14:03:59 +10:00
parent c243bd1cbf
commit 4e399831bb

View file

@ -627,3 +627,19 @@ ubuntu:18.04@default-build:
arch:rolling@default-build:
<<: *arch_template
<<: *default_build
#################################################################
# #
# documentation build stage #
# #
#################################################################
# Do not rename this job, wayland-web relies on it
docbuild:
<<: *fedora_28_template
<<: *default_build
artifacts:
when: on_success
expire_in: 1 week
paths:
- $MESON_BUILDDIR/Documentation