This commit is contained in:
root
2026-05-21 13:02:50 -04:00
parent db43862cea
commit 0ca3127bce
+3 -3
View File
@@ -25,7 +25,7 @@ unit_tests:
- npm run test:api
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH == "main"
- if: $CI_COMMIT_BRANCH == "develop"
integration_tests:
stage: test
@@ -63,7 +63,7 @@ integration_tests:
- npm run test:api:integration
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH == "main"
- if: $CI_COMMIT_BRANCH == "develop"
# ====================================
# BUILD STAGE
@@ -92,7 +92,7 @@ build_image:
- docker push $DOCKER_IMAGE
- docker push $DOCKER_IMAGE_LATEST
rules:
- if: $CI_COMMIT_BRANCH == "main"
- if: $CI_COMMIT_BRANCH == "develop"
# ====================================
# DEPLOY STAGE