Nathalie Furmento 4 년 전
부모
커밋
f0a4d1b6b5
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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