mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
Update notify-discord.yml
Testing if the discord bot can understand { ' } ( )
This commit is contained in:
9
.github/workflows/notify-discord.yml
vendored
9
.github/workflows/notify-discord.yml
vendored
@@ -8,10 +8,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
notify:
|
notify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Send commit payload to Discord Bot
|
- name: Send commit payload to Discord Bot
|
||||||
|
env:
|
||||||
|
URL: http://${{ secrets.DISCORDBOT }}:3000/github-commits
|
||||||
run: |
|
run: |
|
||||||
curl -X POST http://${{ secrets.DISCORDBOT }}:3000/github-commits \
|
curl -sS -X POST "$URL" \
|
||||||
-H "Content-Type: application/json" \
|
-H 'Content-Type: application/json' \
|
||||||
-d '${{ toJson(github.event) }}'
|
--data-binary @"$GITHUB_EVENT_PATH"
|
||||||
Reference in New Issue
Block a user