[folks/wip/nielsdg/ci-docs] WIP: Auto-deploy documentation on master
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks/wip/nielsdg/ci-docs] WIP: Auto-deploy documentation on master
- Date: Thu, 4 Jun 2020 12:03:48 +0000 (UTC)
commit de0cd4b60b9cedc5208f3e8649e178a80bbcc1b0
Author: Niels De Graef <nielsdegraef gmail com>
Date: Thu Jun 4 13:47:12 2020 +0200
WIP: Auto-deploy documentation on master
.gitlab-ci.yml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index db534ecb..adf60d18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ image: fedora:rawhide
stages:
- build
+ - deploy
build-folks:
stage: build
@@ -16,7 +17,7 @@ build-folks:
telepathy-glib-vala tracker-devel vala
dbus-daemon # FIXME: dbus-broker breaks the CI, see https://github.com/bus1/dbus-broker/issues/145
script:
- - meson _build
+ - meson _build -Ddocs=true
- ninja -C _build
- bash +x ./.gitlab-ci/run-tests.sh
artifacts:
@@ -28,3 +29,16 @@ build-folks:
- "_build/config.h"
- "_build/meson-logs"
- "_build/${CI_JOB_NAME}-report.xml"
+ - "_build/docs"
+
+pages:
+ stage: deploy
+ dependencies:
+ - build-folks
+ script:
+ - mv _build/docs/ public/
+ artifacts:
+ paths:
+ - public
+ # only:
+ # - master
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]