|
|
@@ -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
|
|
|
-
|