Skip to content

Commit 7f6e382

Browse files
committed
CCM-11938: try remote
1 parent 84c8be0 commit 7f6e382

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/manual-proxy-environment-deploy.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ jobs:
4747
branch_name=${GITHUB_HEAD_REF:-$(echo $GITHUB_REF | sed 's#refs/heads/##')}
4848
echo "Current branch is '$branch_name'"
4949
50+
if [ -z "${{ inputs.environment }}" ]; then
51+
ENVIRONMENT="internal-dev"
52+
else
53+
ENVIRONMENT="${{ inputs.environment }}"
54+
fi
55+
5056
pr_json=$(gh pr list --head "$branch_name" --state open --json number --limit 1)
5157
pr_number=$(echo "$pr_json" | jq -r '.[0].number // empty')
5258
@@ -62,11 +68,6 @@ jobs:
6268
APIM_ENV="${{ inputs.environment }}"
6369
fi
6470
65-
if [ -z "${{ inputs.environment }}" ]; then
66-
ENVIRONMENT="internal-dev"
67-
else
68-
ENVIRONMENT="${{ inputs.environment }}"
69-
fi
7071
echo "ENVIRONMENT=$ENVIRONMENT" >> $GITHUB_ENV
7172
echo "APIM_ENV=$APIM_ENV" >> $GITHUB_ENV
7273
- name: Build environment oas

0 commit comments

Comments
 (0)