Skip to content

Commit 7dc888f

Browse files
Updated Send Notification Job
1 parent c3d8fa9 commit 7dc888f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy-Parameterized.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ jobs:
786786
echo "- Manual cleanup may be required" >> $GITHUB_STEP_SUMMARY
787787
fi
788788
789-
send-notifications:
789+
send-notification:
790790
# ============================================================================
791791
# NOTIFICATION JOB
792792
# ============================================================================
@@ -798,7 +798,7 @@ jobs:
798798
# 4. Test failure notifications (when deploy succeeds but e2e tests fail)
799799
# ============================================================================
800800
if: always()
801-
needs: [docker-build, deploy, e2e-test, cleanup-deployment]
801+
needs: [docker-build, deploy, e2e-test]
802802
runs-on: ubuntu-latest
803803
steps:
804804
- name: Send Quota Failure Notification
@@ -807,8 +807,8 @@ jobs:
807807
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
808808
EMAIL_BODY=$(cat <<EOF
809809
{
810-
"body": "<p>Dear Team,</p><p>We would like to inform you that the DocGen deployment has failed due to insufficient Azure quota in the requested regions.</p><p><strong>Issue Details:</strong><br>• Quota check failed for GPT and Text Embedding models<br>• Required GPT Capacity: ${{ env.GPT_MIN_CAPACITY }}<br>• Required Text Embedding Capacity: ${{ env.TEXT_EMBEDDING_MIN_CAPACITY }}<br>• Checked Regions: ${{ vars.AZURE_REGIONS }}</p><p><strong>Action Required:</strong><br>• Increase quota limits in Azure portal<br>• Or select a different region with available quota</p><p><strong>Build URL:</strong> <a href=\"${RUN_URL}\">${RUN_URL}</a></p><p>Please resolve the quota issue and retry the deployment.</p><p>Best regards,<br>Your Automation Team</p>",
811-
"subject": "DocGen Pipeline - Quota Check Failed"
810+
"body": "<p>Dear Team,</p><p>We would like to inform you that the DocGen deployment has failed due to insufficient quota in the requested regions.</p><p><strong>Issue Details:</strong><br>• Quota check failed for GPT and Text Embedding models<br>• Required GPT Capacity: ${{ env.GPT_MIN_CAPACITY }}<br>• Required Text Embedding Capacity: ${{ env.TEXT_EMBEDDING_MIN_CAPACITY }}<br>• Checked Regions: ${{ vars.AZURE_REGIONS }}</p><p><strong>Action Required:</strong><br>• Increase quota limits in Azure portal<br>• Or select a different region with available quota</p><p><strong>Build URL:</strong> <a href=\"${RUN_URL}\">${RUN_URL}</a></p><p>Please resolve the quota issue and retry the deployment.</p><p>Best regards,<br>Your Automation Team</p>",
811+
"subject": "DocGen Pipeline - Failed (Insufficient Quota)"
812812
}
813813
EOF
814814
)

0 commit comments

Comments
 (0)