[gcr/tintou/ci] ci: Fix documentation artifact




commit 34bc043c5761c766f256a4ede6e45ef10a5363d7
Author: Corentin Noël <corentin elementary io>
Date:   Sun Nov 14 20:48:03 2021 +0100

    ci: Fix documentation artifact
    
    Include both coverage and docs in the build artifacts.

 .gitlab-ci.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92e98d1..7b98c9d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -73,13 +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:
+      - _build/docs/
       - _build/meson-logs/coveragereport/
   artifacts:
     name: "gcr-coverage-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
@@ -95,7 +92,7 @@ pages:
   needs: ['fedora:coverage']
   script:
     - mv _build/meson-logs/coveragereport public/coverage
-    - mv _build/meson-logs/coveragereport public/
+    - mv _build/docs public/
   artifacts:
     when: on_success
     paths:


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