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:
|
jobs:
|
||||||
notify:
|
notify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Discord Commits
|
- name: Send commit payload to Discord Bot
|
||||||
uses: Sniddl/discord-commits@v1.6
|
run: |
|
||||||
with:
|
curl -X POST http://${{ secrets.DISCORDBOT }}:3000/github-commits \
|
||||||
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
-H "Content-Type: application/json" \
|
||||||
template: "avatar-with-link"
|
-d '${{ toJson(github.event) }}'
|
||||||
include-extras: true
|
|
||||||
Reference in New Issue
Block a user