You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
discord-action
v1.0
Send a message to a Discord webhook. Follow this guide to create a webhook if you don't have one already.
name: Deploy
on: push
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: discord
uses: sebastianpopp/discord-action@releases/v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
message: ${{ github.repository }} has been successfullly deployed.
Input parameter | Description | Required | Default |
---|---|---|---|
webhook | Discord webhook URL. Follow this guide to create a webhook if you don't have one already. | Yes | N/A |
message | Message to be sent | Yes | N/A |