Skip to content

Commit e613f69

Browse files
committed
Try to fix Discord notification (again)
1 parent 6be963d commit e613f69

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/pure.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -245,14 +245,14 @@ jobs:
245245
- name: Notify CakeML Discord
246246
run: >
247247
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+
}]}"
258258
${{ secrets.DISCORD_WEBHOOK }}

0 commit comments

Comments
 (0)