Coder Social home page Coder Social logo

warfork / appveyor-discord-webhook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from discordhooks/appveyor-discord-webhook

0.0 1.0 0.0 29 KB

⛓ Here's your serverless solution for sending build status from AppVeyor to Discord as webhooks.

License: MIT License

PowerShell 100.00%

appveyor-discord-webhook's Introduction

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/Warfork/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/Warfork/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.

appveyor-discord-webhook's People

Contributors

blackjackkent avatar iamtraction avatar soopercool101 avatar soulspark666 avatar warfork avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.