[gcr/gnome-41] ci: Update artifact paths



commit 0f1b6d2ee0be61b69e9d4d4d2c6c1627821476bf
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 add9e11f..92e98d1c 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]