Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/boto3-1.35.66
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-nhs authored Nov 21, 2024
2 parents ba6c8de + 3a924fe commit eb0457d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/deploy_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ echo "Fixing the spec"
title=$(jq -r '.info.title' "${SPEC_PATH}")
if [[ "${is_pull_request}" == "true" ]]; then
jq --arg title "[PR-${pr_id}] $title" '.info.title = $title' "${SPEC_PATH}" > temp.json && mv temp.json "${SPEC_PATH}"
echo "disabling monitoring for pull request deployment"
jq '."x-nhsd-apim".monitoring = false' "${SPEC_PATH}" > temp.json && mv temp.json "${SPEC_PATH}"
fi

# Find and replace the specification version number
Expand Down

0 comments on commit eb0457d

Please sign in to comment.