Skip to content

Commit 5407c5f

Browse files
authored
Create nerimity.yml
1 parent ab1f019 commit 5407c5f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/nerimity.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: nerimity notify
2+
3+
on:
4+
push:
5+
branches: ['**']
6+
7+
jobs:
8+
discord:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: send push to nerimity
12+
run: |
13+
curl -H "Content-Type: application/json" \
14+
-X POST \
15+
-d "{\"content\": \"push: ${{ github.repository }}@${{ github.ref_name }}\ncommit: ${{ github.sha }}\nurl: https://github.com/${{ github.repository }}/commit/${{ github.sha }}\nauthor: ${{ github.actor }}\nmessage: ${{ github.event.head_commit.message }}\"}" \
16+
${{ secrets.NERI_WEBHOOK }}

0 commit comments

Comments
 (0)