We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3ec5e commit 3a924feCopy full SHA for 3a924fe
.github/scripts/deploy_api.sh
@@ -66,6 +66,8 @@ echo "Fixing the spec"
66
title=$(jq -r '.info.title' "${SPEC_PATH}")
67
if [[ "${is_pull_request}" == "true" ]]; then
68
jq --arg title "[PR-${pr_id}] $title" '.info.title = $title' "${SPEC_PATH}" > temp.json && mv temp.json "${SPEC_PATH}"
69
+ echo "disabling monitoring for pull request deployment"
70
+ jq '."x-nhsd-apim".monitoring = false' "${SPEC_PATH}" > temp.json && mv temp.json "${SPEC_PATH}"
71
fi
72
73
# Find and replace the specification version number
0 commit comments