Skip to content

Commit 6e9b290

Browse files
added quota check file
1 parent 41abc9e commit 6e9b290

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -152,24 +152,6 @@ jobs:
152152
echo "WEBAPP_URL=$WEBAPP_URL" >> $GITHUB_OUTPUT
153153
echo "Deployment output: $BICEP_OUTPUT"
154154
155-
- name: Send Notification on Failure
156-
if: failure()
157-
run: |
158-
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
159-
160-
# Construct the email body
161-
EMAIL_BODY=$(cat <<EOF
162-
{
163-
"body": "<p>Dear Team,</p><p>We would like to inform you that the Modernize-your-code-solution-accelerator Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Build URL:</strong> ${RUN_URL}<br> ${OUTPUT}</p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>"
164-
}
165-
EOF
166-
)
167-
168-
# Send the notification
169-
curl -X POST "${{ secrets.LOGIC_APP_URL }}" \
170-
-H "Content-Type: application/json" \
171-
-d "$EMAIL_BODY" || echo "Failed to send notification"
172-
173155
- name: Logout from Azure
174156
if: always()
175157
run: |

0 commit comments

Comments
 (0)