[json-glib/docs-template] ci: Publis the pages once again




commit 59403c31169d126da98349322fa2363040eaf474
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Aug 25 19:03:27 2021 +0100

    ci: Publis the pages once again

 .gitlab-ci.yml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1e2b979..bb07e59 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,9 +63,9 @@ fedora-x86_64:
     MESON_EXTRA_FLAGS: "--buildtype=debug --default-library=both -Dwerror=true -Dglib:werror=false 
-Dintrospection=enabled"
 
 reference:
-  extends: .gidocgen-build
   stage: docs
   needs: []
+  extends: .gidocgen-build
   variables:
     PROJECT_DEPS:
       docbook-style-xsl
@@ -78,3 +78,15 @@ reference:
     MESON_EXTRA_FLAGS: "-Dman=true -Dintrospection=enabled"
     DOCS_FLAGS: -Dgtk_doc=enabled
     DOCS_PATH: doc/json-glib-1.0
+
+pages:
+  stage: deploy
+  needs: ['reference']
+  script:
+    - mkdir public && cd public
+    - tar xf ${CI_PROJECT_NAME}-docs.tar
+  artifacts:
+    paths:
+      - public
+  only:
+    - master


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