mirror of
https://github.com/jimathy/jim-payments.git
synced 2026-08-17 06:16:02 +01:00
Update notify-discord.yml
This commit is contained in:
12
.github/workflows/notify-discord.yml
vendored
12
.github/workflows/notify-discord.yml
vendored
@@ -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) }}'
|
||||
Reference in New Issue
Block a user