Skip to content

Commit 2edb407

Browse files
authored
Fix: [AEA-0000] -fix release pipeline (#239)
## Summary - Routine Change ### Details - fix release pipeline
1 parent cf29337 commit 2edb407

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: deploy to environments
22

33
on:
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

116
env:
127
BRANCH_NAME: ${{ github.event.ref.BRANCH_NAME }}
@@ -64,7 +59,7 @@ jobs:
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
@@ -93,7 +88,7 @@ jobs:
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

0 commit comments

Comments
 (0)