From 4e80be9b303e00dc567ca30c7d21d2ff8a9bd7a9 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Sun, 27 Jul 2025 18:48:55 +0100 Subject: [PATCH] Update notify-discord.yml --- .github/workflows/notify-discord.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/notify-discord.yml b/.github/workflows/notify-discord.yml index 2efce24..ce47b89 100644 --- a/.github/workflows/notify-discord.yml +++ b/.github/workflows/notify-discord.yml @@ -8,10 +8,10 @@ on: jobs: notify: runs-on: ubuntu-latest + steps: - - name: Discord Commits - uses: Sniddl/discord-commits@v1.6 - with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - template: "avatar-with-link" - include-extras: true \ No newline at end of file + - name: Send commit payload to Discord Bot + run: | + curl -X POST http://${{ secrets.DISCORDBOT }}:3000/github-commits \ + -H "Content-Type: application/json" \ + -d '${{ toJson(github.event) }}' \ No newline at end of file