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