Skip to content

Commit e306b2b

Browse files
fix: fixed env update step to not update when running for dev (#2802)
1 parent 338a6b1 commit e306b2b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/deploy-wf-service.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,14 @@ jobs:
6161
fi
6262
6363
- name: Update Service version in Environment
64+
if: ${{ inputs.environment != 'dev' }}
6465
run: |
6566
if [ "${{ inputs.environment }}" == "prod" ]; then
66-
ENV="PROD"
67+
ENV="PROD"
68+
elif [ "${{ inputs.environment }}" == "sb" ]; then
69+
ENV="SB"
6770
else
68-
ENV="SB"
71+
ENV="DEV"
6972
fi
7073
echo "$ENV"
7174
curl -X PATCH \

0 commit comments

Comments
 (0)