chore: modify discord.yml
This commit is contained in:
@@ -1,15 +1,14 @@
|
|||||||
name: Discord Webhook
|
name: Discord Webhook
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
notify:
|
git:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Discord Commit Webhook
|
- uses: actions/checkout@v2
|
||||||
uses: johnnyhuy/actions-discord-git-webhook@v1.0.4
|
|
||||||
|
- name: Run Discord Webhook
|
||||||
|
uses: johnnyhuy/actions-discord-git-webhook@main
|
||||||
with:
|
with:
|
||||||
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
webhook_url: ${{ secrets.YOUR_DISCORD_WEBHOOK_URL }}
|
||||||
Reference in New Issue
Block a user