Update notify-discord.yml

This commit is contained in:
Jim Shield
2025-07-27 18:50:08 +01:00
parent a9ac2e8897
commit 1146639d6f

View File

@@ -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
- 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) }}'