@@ -245,14 +245,14 @@ jobs:
245
245
- name : Notify CakeML Discord
246
246
run : >
247
247
curl --silent --show-error --request POST
248
- --header "Content-type: application/json;charset=utf-8"
249
- --data "{\"embeds\": [{
250
- \"title\": \"CI #${{ github.run_number }}\",
251
- \"description\": \"${{ needs.build.result == 'success' && 'Passed' || 'Failed' }}\",
252
- \"url\": \"https://github.com/CakeML/pure/actions/runs/${{ github.run_id }}\",
253
- \"color\": ${{ needs.build.result == 'success' && 8311585 || 13632027 }},
254
- \"author\": {
255
- \"name\": \"PureCake CI\",
256
- \"url\": \"https://github.com/CakeML/pure/actions/workflows/pure.yml\"}
257
- }]}"
248
+ --header "Content-type: application/json;charset=utf-8"
249
+ --data "{\"embeds\": [{
250
+ \"title\": \"CI #${{ github.run_number }}\",
251
+ \"description\": \"${{ needs.build.result == 'success' && 'Passed' || 'Failed' }}\",
252
+ \"url\": \"https://github.com/CakeML/pure/actions/runs/${{ github.run_id }}\",
253
+ \"color\": ${{ needs.build.result == 'success' && 8311585 || 13632027 }},
254
+ \"author\": {
255
+ \"name\": \"PureCake CI\",
256
+ \"url\": \"https://github.com/CakeML/pure/actions/workflows/pure.yml\"}
257
+ }]}"
258
258
${{ secrets.DISCORD_WEBHOOK }}
0 commit comments