Nathalie Furmento 4 years ago
parent
commit
f0a4d1b6b5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .gitlab-ci.yml

+ 3 - 1
.gitlab-ci.yml

@@ -22,4 +22,6 @@ build:
   script:
     - ./contrib/gitlab/build.sh
   rules:
-    - when : manual
+    - if: '$CI_PIPELINE_SOURCE == "push"'
+      when: never  # Prevent pipeline run for push event
+    - when: always # Run pipeline for all other cases