Nathalie Furmento 4 年之前
父节点
当前提交
7f9e405612
共有 1 个文件被更改,包括 4 次插入10 次删除
  1. 4 10
      .gitlab-ci.yml

+ 4 - 10
.gitlab-ci.yml

@@ -15,20 +15,14 @@
 #
 ---
 stages:
-  - build
-  - deploy
+  - check
 
-build:
-  stage: build
+check:
+  stage: check
   script:
     - ./contrib/gitlab/build.sh
+    - ./contrib/gitlab/deploy.sh
   rules:
     - if: '$CI_PIPELINE_SOURCE == "push"'
       when: never  # Prevent pipeline run for push event
     - when: always # Run pipeline for all other cases
-
-deploy:
-  stage: deploy
-  script:
-    - ./contrib/gitlab/deploy.sh
-