Skip to content
This repository has been archived by the owner on Aug 12, 2018. It is now read-only.

Serverless solution for sending build status from AppVeyor to Discord as a webhook.

License

Notifications You must be signed in to change notification settings

symboxtra/appveyor-discord-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project is archived...

Please see universal-ci-discord-webhook for the most current version and improved functionality.

AppVeyor 🡒 Discord Webhook

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.

Requirements

  • You should be using AppVeyor for testing codes.
  • A Discord Server where notifications will be posted.
  • 5 minutes
  • A cup of coffee ☕

Guide

  1. Create a webhook in your Discord Server (Guide).

  2. Copy the Webhook URL.

  3. 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 environment variable in AppVeyor

  4. Add these lines to the appveyor.yml file of your repository.

    on_success:
      - ps: Invoke-RestMethod https://raw.githubusercontent.com/symboxtra/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/symboxtra/appveyor-discord-webhook/master/send.ps1 -o send.ps1
      - ps: ./send.ps1 failure $env:WEBHOOK_URL
  5. Grab your coffee ☕ and enjoy! And, if you liked this, please ⭐Star this repository to show your love.

Note

  • If you face any issues in the scripts (and you're sure it's not on your side), please consider opening an issue and I'll fix it ASAP.
  • If you want to improve the scripts, feel free to open a pull request.

See Also

About

Serverless solution for sending build status from AppVeyor to Discord as a webhook.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%