Skip to content

Commit 9b0c62d

Browse files
authored
Fix: [AEA-0000] - set temporary instance for pull request (#2312)
## Summary - Routine Change ### Details - set proxygen instance as temporary for pull requests
1 parent 542a5cc commit 9b0c62d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/scripts/deploy_api.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ if [[ "${IS_PULL_REQUEST}" == "true" ]]; then
6666
jq --arg title "[PR-${pr_id}] $title" '.info.title = $title' "${SPEC_PATH}" > temp.json && mv temp.json "${SPEC_PATH}"
6767
echo "disabling monitoring for pull request deployment"
6868
jq '."x-nhsd-apim".monitoring = false' "${SPEC_PATH}" > temp.json && mv temp.json "${SPEC_PATH}"
69+
echo "setting temporary true for pull request deployment"
70+
jq '."x-nhsd-apim".temporary = true' "${SPEC_PATH}" > temp.json && mv temp.json "${SPEC_PATH}"
6971
fi
7072

7173
# Find and replace the specification version number

0 commit comments

Comments
 (0)