You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
458 B
YAML

name: Send Discord webhook on push
on:
push:
branches:
- main # Replace with the name of your branch
jobs:
send-webhook:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Send Discord webhook
uses: distributhor/discord-webhook-action@v1
with:
url: ${{ secrets.DISCORD_WEBHOOK_URL }}
payload: '{"content": "New commit pushed to repository"}'