[gcr/gi-docsgen] ci: Update artifact paths



commit 3f60b586b1f61c665566b6599c7157cbdd47b615
Author: Corentin Noël <corentin noel collabora com>
Date:   Wed Nov 10 12:07:31 2021 +0100

    ci: Update artifact paths
    
    Publish the coverage under its own subfolder.
    Publish the documentation too.

 .gitlab-ci.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index add9e11..92e98d1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ stages:
   - deploy
 
 variables:
-  DEPENDENCIES: dbus-daemon diffutils gcc libsecret-devel meson ninja-build openssh openssh-clients python 
redhat-rpm-config systemd-devel
+  DEPENDENCIES: dbus-daemon diffutils gcc gi-docgen libsecret-devel meson ninja-build openssh 
openssh-clients python redhat-rpm-config systemd-devel
 
 fedora:Werror:
   image: fedora:latest
@@ -73,6 +73,10 @@ fedora:coverage:
     - dbus-run-session -- meson test -C _build
     - ninja coverage-html -C _build
   coverage: '/^\s+lines.+:\s+([\d.]+\%)\s+/'
+  artifacts:
+    name: "gcr-docs-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+    paths:
+      - _build/docs/
   artifacts:
     name: "gcr-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
     paths:
@@ -90,7 +94,8 @@ pages:
     - master
   needs: ['fedora:coverage']
   script:
-    - mv _build/meson-logs/coveragereport/ public/
+    - mv _build/meson-logs/coveragereport public/coverage
+    - mv _build/meson-logs/coveragereport public/
   artifacts:
     when: on_success
     paths:


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