You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# "body": "<p>Dear Team,</p><p>We would like to inform you that the Multi-Agent-Custom-Automation-Engine-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>"
72
-
# }
73
-
# EOF
74
-
# )
67
+
# Construct the email body
68
+
EMAIL_BODY=$(cat <<EOF
69
+
{
70
+
"body": "<p>Dear Team,</p><p>We would like to inform you that the Multi-Agent-Custom-Automation-Engine-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>"
71
+
}
72
+
EOF
73
+
)
75
74
76
-
# # Send the notification
77
-
# curl -X POST "${{ secrets.LOGIC_APP_URL }}" \
78
-
# -H "Content-Type: application/json" \
79
-
# -d "$EMAIL_BODY" || echo "Failed to send notification"
75
+
# Send the notification
76
+
curl -X POST "${{ secrets.LOGIC_APP_URL }}" \
77
+
-H "Content-Type: application/json" \
78
+
-d "$EMAIL_BODY" || echo "Failed to send notification"
80
79
81
80
82
81
- name: Get OpenAI, App Service and Container Registry Resource from Resource Group
@@ -125,32 +124,32 @@ jobs:
125
124
fi
126
125
127
126
128
-
#- name: Build the image and update the container app
129
-
# id: build-and-update
130
-
# run: |
131
-
132
-
# set -e
133
-
# # Define variables for acr and container app names
134
-
# acr_name="${{ env.ACR_NAME }}"
135
-
# echo "ACR name: {$acr_name}"
136
-
# backend_container_app_name="macae-backend"
137
-
# backend_build_image_tag="backend:latest"
138
-
139
-
# echo "Building the container image..."
140
-
# # Build the image
141
-
# az acr build -r ${acr_name} -t ${backend_build_image_tag} ./src/backend
0 commit comments