⛓ Here's your serverless solution for sending build status from AppVeyor to Discord as webhooks.
If you are looking for a way to get build (success/fail) status reports from AppVeyor in Discord, stop looking. You've came to the right place.
Rest aside and just follow the guide below and stay notified of your build status.
Create a webhook in your Discord Server (Guide).
Copy the Webhook URL.
Go to your project settings (for which you want status notifications)
in AppVeyor and add an environment variable called WEBHOOK_URL
and paste
the Webhook URL you got in the previous step.
Add these lines to the appveyor.yml
file of your repository.
on_success:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 success $env:WEBHOOK_URL
on_failure:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:WEBHOOK_URL
Grab your coffee ☕ and enjoy! And, if you liked this, please ⭐Star this repository to show your love.