Files
jim_bridge/.github/workflows/notify-discord.yml
Jim Shield 2942907963 Update notify-discord.yml
Testing if the discord bot can understand { ' } ( )
2025-09-08 18:26:57 +01:00

18 lines
430 B
YAML

name: Discord Commit Notifier
on:
push:
branches:
- '*' # triggers on all branches
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send commit payload to Discord Bot
env:
URL: http://${{ secrets.DISCORDBOT }}:3000/github-commits
run: |
curl -sS -X POST "$URL" \
-H 'Content-Type: application/json' \
--data-binary @"$GITHUB_EVENT_PATH"