name: Send Discord webhook on push on: workflow_dispatch: push: branches: - main # Replace with the name of your branch jobs: message: runs-on: ubuntu-latest steps: - name: Discord Webhook Action uses: tsickert/discord-webhook@v5.3.0 with: webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} content: '{ "content": "New commit pushed to repository", "embeds": [{ "title": ${{ github.event.head_commit.message }}, "description": "A new commit has been pushed to the repository.", "url": "https://cursedcreationsteam.github.io", "color": 123456,"footer": { "text": "Push Notification" }}]}'