Skip to content

Commit 1ba8156

Browse files
committed
feature/PI-816-deploy_prod_api_spec swagger--publish step runs in prod
1 parent dc99708 commit 1ba8156

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
- uses: actions/checkout@v4
153153
with:
154154
ref: ${{ needs.get-branch-from-workflow-file.outputs.branch_name }}
155-
- if: ${{ env.SCOPE == 'per_workspace' && (env.ACCOUNT == 'int' || env.ACCOUNT == 'dev') }}
155+
- if: ${{ env.SCOPE == 'per_workspace' && (env.ACCOUNT == 'int' || env.ACCOUNT == 'prod') }}
156156
uses: ./.github/actions/make/
157157
with:
158158
command: swagger--publish

scripts/infrastructure/apigee/proxygen.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,8 @@ function publish_swagger(){
192192

193193
if [[ ${_aws_environment} == "prod" ]]; then
194194
_flags=""
195-
#elif [[ ${_aws_environment} == "int" ]]; then
196195
else
197196
_flags="--uat"
198-
# else
199-
# echo "ERROR: only environments to deploy to are 'prod' and 'int'"
200-
# exit 1;
201197
fi
202198

203199
echo "

0 commit comments

Comments
 (0)