mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
18 lines
430 B
YAML
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" |