[libhandy/pages] ci: Export the reference manual to GitLab pages
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/pages] ci: Export the reference manual to GitLab pages
- Date: Fri, 22 May 2020 17:09:15 +0000 (UTC)
commit 47bfd3d8dc0cdd8588dfa5b06dd46fcf0421d604
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri May 22 15:37:07 2020 +0200
ci: Export the reference manual to GitLab pages
.gitlab-ci.yml | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 51a59601..f2634e30 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,7 @@ stages:
- test+docs
- package
- test-package
+ - publish
before_script:
- echo "man-db man-db/auto-update boolean false" | debconf-set-selections
@@ -82,10 +83,11 @@ build-gtkdoc:
script:
- ninja -C _build meson-libhandy-doc 2>&1 | tee _build/doc/buildlog
- if grep -qs 'warning' _build/doc/buildlog; then exit 1; fi
+ - mv _build/doc/html/ _reference/
artifacts:
when: always
paths:
- - _build/doc/html
+ - _reference
unit-test:
image: debian:buster
@@ -138,3 +140,14 @@ build-flatpak-glade:
FLATPAK_MODULE: 'libhandy'
APP_ID: 'sm.puri.Handy.Glade'
BUNDLE: 'sm.puri.Handy.Glade.flatpak'
+
+pages:
+ stage: publish
+ dependencies:
+ - build-gtkdoc
+ before_script: []
+ script:
+ - mv _reference/ public/
+ artifacts:
+ paths:
+ - public
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]