Skip to content

Commit d4aa93d

Browse files
committed
Update notify-discord.yml
1 parent b2de02f commit d4aa93d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/notify-discord.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
jobs:
99
notify:
1010
runs-on: ubuntu-latest
11+
1112
steps:
12-
- name: Discord Commits
13-
uses: Sniddl/[email protected]
14-
with:
15-
webhook: ${{ secrets.DISCORD_WEBHOOK }}
16-
template: "avatar-with-link"
17-
include-extras: true
13+
- name: Send commit payload to Discord Bot
14+
run: |
15+
curl -X POST http://${{ secrets.DISCORDBOT }}:3000/github-commits \
16+
-H "Content-Type: application/json" \
17+
-d '${{ toJson(github.event) }}'

0 commit comments

Comments
 (0)