Skip to content

Commit bc95ede

Browse files
authored
Update and rename discord.yml to discord-notify.yml
1 parent 0bea0b0 commit bc95ede

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Discord Notification
2+
on: push # Triggers on every push
3+
jobs:
4+
notify:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Send Discord Notification
8+
uses: Ilshidur/action-discord@master
9+
with:
10+
args: |
11+
**New commit in ${{ github.repository }}**
12+
> **Author:** ${{ github.actor }}
13+
> **Message:** ${{ github.event.head_commit.message }}
14+
> [View Commit](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
15+
env:
16+
DISCORD_WEBHOOK: ${{ https://discord.com/api/webhooks/1402231972364812308/Jjq_sle0vM96bPCo5aW3y8WkKDY4gJdd71zObPLoPcXXiWQxfSom1ISow7rpaU4JxeIN }}

.github/workflows/discord.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)