From 99176a2aa1d537d111e578b20614d8d11d1e3371 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Sat, 29 May 2021 20:21:45 -0400 Subject: [PATCH] Update build.yml Add commit description to discord announcement --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1bf826a..e00ebc3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -143,5 +143,5 @@ jobs: curl -i -H "Accept: application/json" \ -H "Content-Type:application/json" \ -X POST \ - --data "{\"content\": null,\"embeds\": [{\"title\": \"${{ github.repository }} Build Complete\", \"description\": \"Commit: ${{ github.sha }}\\n[Build Artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}#artifacts)\", \"color\": 5131997, \"author\": { \"name\": \"Github Builds\" } } ]}" \ + --data "{\"content\": null,\"embeds\": [{\"title\": \"${{ github.repository }} Build Complete\", \"description\": \"Message: ${{ github.event.commits[0].message }}\\nCommit: ${{ github.sha }}\\n[Build Artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}#artifacts)\", \"color\": 5131997, \"author\": { \"name\": \"Github Builds\" } } ]}" \ https://discord.com/api/webhooks/${{ secrets.WEBHOOK_ID }}/${{ secrets.WEBHOOK_TOKEN }}