Nathalie Furmento 5 years ago
parent
commit
7f9e405612
1 changed files with 4 additions and 10 deletions
  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
-