File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ name: deploy to environments
22
33on :
44 workflow_dispatch :
5- inputs :
6- dev_version :
7- description : " DEV version to promote (e.g., dev-123-a1b2c3d)"
8- required : true
9- type : string
105
116env :
127 BRANCH_NAME : ${{ github.event.ref.BRANCH_NAME }}
6459 with :
6560 STACK_NAME : epsam
6661 TARGET_ENVIRONMENT : dev
67- VERSION_NUMBER : ${{ inputs.dev_version || needs.tag_release.outputs.version_tag }}
62+ VERSION_NUMBER : ${{ needs.tag_release.outputs.version_tag }}
6863 COMMIT_ID : ${{ github.sha }}
6964 CDK_APP_NAME : EpsAssistMeApp
7065 DEPLOY_CODE : true
9388 with :
9489 STACK_NAME : epsam
9590 TARGET_ENVIRONMENT : qa
96- VERSION_NUMBER : ${{ inputs.dev_version || needs.tag_release.outputs.version_tag }}
91+ VERSION_NUMBER : ${{ needs.tag_release.outputs.version_tag }}
9792 COMMIT_ID : ${{ github.sha }}
9893 CDK_APP_NAME : EpsAssistMeApp
9994 DEPLOY_CODE : true
@@ -122,7 +117,7 @@ jobs:
122117 with :
123118 STACK_NAME : epsam
124119 TARGET_ENVIRONMENT : int
125- VERSION_NUMBER : ${{ inputs.dev_version || needs.tag_release.outputs.version_tag }}
120+ VERSION_NUMBER : ${{ needs.tag_release.outputs.version_tag }}
126121 COMMIT_ID : ${{ github.sha }}
127122 CDK_APP_NAME : EpsAssistMeApp
128123 DEPLOY_CODE : true
@@ -151,7 +146,7 @@ jobs:
151146 with :
152147 STACK_NAME : epsam
153148 TARGET_ENVIRONMENT : prod
154- VERSION_NUMBER : ${{ inputs.dev_version || needs.tag_release.outputs.version_tag }}
149+ VERSION_NUMBER : ${{ needs.tag_release.outputs.version_tag }}
155150 COMMIT_ID : ${{ github.sha }}
156151 CDK_APP_NAME : EpsAssistMeApp
157152 DEPLOY_CODE : true
You can’t perform that action at this time.
0 commit comments