[gnome-build-meta/alatiera/cve-pages] ci: deploy cve reports for nightly in gitlab pages




commit 2280cefcf77e8b53296495137d0d928c6fe959b4
Author: Jordan Petridis <jordan centricular com>
Date:   Fri Jul 23 06:03:49 2021 +0300

    ci: deploy cve reports for nightly in gitlab pages

 .gitlab-ci.yml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a1dd8c98..6006c95d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,9 +11,9 @@ variables:
 stages:
 - track
 - build
+- reports
 - deploy-config
 - deploy
-- reports
 
 default:
   before_script:
@@ -397,3 +397,16 @@ cve_report:
     - cve-reports
   rules:
   - if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME =~ /^gnome-\d\d$/
+
+pages:
+  stage: 'deploy'
+  needs:
+    - job : 'cve_report'
+      artifacts: true
+  script:
+    - 'mv cve-reports/ public/'
+  artifacts:
+    paths:
+    - 'public'
+  rules:
+  - if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME =~ /^gnome-\d\d$/
\ No newline at end of file


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