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