[librsvg/librsvg-2.52: 18/19] Only build the documentation in the main branch




commit 45b4c5ffa5be24cda9cf37c854cd328fd809408a
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Feb 16 21:12:12 2022 -0600

    Only build the documentation in the main branch

 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5db70d1ca..abd826dc1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -372,6 +372,8 @@ reference:
   artifacts:
     paths:
       - public
+  rules:
+    - if: '$CI_COMMIT_BRANCH == "main"'
 
 pages:
   stage: docs


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