From 6e3ada0f27862c1b4ca85fecab4274eb45ae62da Mon Sep 17 00:00:00 2001 From: UltraLionFr Date: Wed, 20 Aug 2025 23:25:07 +0200 Subject: [PATCH] chore: modify discord.yml --- .github/workflows/discord.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml index 03580a6..e2bcc04 100644 --- a/.github/workflows/discord.yml +++ b/.github/workflows/discord.yml @@ -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 }} \ No newline at end of file + webhook_url: ${{ secrets.YOUR_DISCORD_WEBHOOK_URL }} \ No newline at end of file