notify irc on new commits
This commit is contained in:
13
.github/workflows/notify-irc.yaml
vendored
Normal file
13
.github/workflows/notify-irc.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: Notify IRC
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
notify:
|
||||
name: Send request
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
curl "${{ secrets.IRC_NOTIFY_URL }}" -F target=#gonic -F 'message=push to master @${{ github.event.head_commit.author.username }} "${{ github.event.head_commit.message }}"' >/dev/null 2>&1
|
||||
exit 0
|
||||
Reference in New Issue
Block a user