fix: long branch names prevent review deployment

This commit is contained in:
Theaninova committed 2023-09-21 09:55:35 +02:00
1 parent a99e08cd68
commit 38fb7a398d
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ build:
rules: &deploy-rules
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
variables:
DEPLOY_ID: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
DEPLOY_ID: $CI_MERGE_REQUEST_IID
- if: $CI_COMMIT_BRANCH == 'main'
variables:
DEPLOY_ID: production