[gitg/wip/valadoc] gitlabci: Publish docs



commit 75b2acebbdff9fe672bd22cde15248f783b420a6
Author: Alberto Fanjul <albertofanjul gmail com>
Date:   Fri Oct 12 12:27:35 2018 +0200

    gitlabci: Publish docs

 .gitlab-ci.yml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c36d62c..acd8536c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,6 @@ flatpak:
         - flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
         - flatpak build app meson --prefix=/app ${MESON_ARGS} _build
         - flatpak build app ninja -C _build install
-        - flatpak build app ninja -C _build libgitg-ext-docs
         - flatpak-builder --finish-only --repo=repo app ${MANIFEST_PATH}
         - xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app ninja -C _build test
         - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID}
@@ -60,3 +59,17 @@ stop_review:
     environment:
         name: review/$CI_COMMIT_REF_NAME
         action: stop
+
+pages:
+    stage: review
+    dependencies:
+        - flatpak
+    script:
+        - flatpak build app ninja -C _build libgitg-ext-docs
+        - mkdir -p public
+        - mv docs public/valadocs
+    artifacts:
+        paths:
+            - public
+
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]