fix: long branch names prevent review deployment

This commit is contained in:
2023-09-20 10:06:30 +02:00
parent a99e08cd68
commit 38fb7a398d

View File

@@ -80,7 +80,7 @@ build:
rules: &deploy-rules rules: &deploy-rules
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
variables: variables:
DEPLOY_ID: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME DEPLOY_ID: $CI_MERGE_REQUEST_IID
- if: $CI_COMMIT_BRANCH == 'main' - if: $CI_COMMIT_BRANCH == 'main'
variables: variables:
DEPLOY_ID: production DEPLOY_ID: production