- In Github secrets, add a WEBHOOK_URLvariable with the Discord web hook URL
- In your Github actions yml file, add this to reference the variable you just created:
- To see a real example, visit here.
 - uses: actions/setup-ruby@v1 - name: Send Webhook Notification if: always() env: JOB_STATUS: ${{ job.status }} WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} HOOK_OS_NAME: ${{ runner.os }} WORKFLOW_NAME: ${{ github.workflow }} run: | git clone https://github.com/DiscordHooks/github-actions-discord-webhook.git webhook bash webhook/send.sh $JOB_STATUS $WEBHOOK_URL shell: bash 
- Enjoy!
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 15
⛓ Here's your serverless solution for sending build status from GitHub Actions to Discord as webhooks.
License
DiscordHooks/github-actions-discord-webhook
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
⛓ Here's your serverless solution for sending build status from GitHub Actions to Discord as webhooks.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
              Packages 0
        No packages published