Git Product home page Git Product logo

encode42 / discord-workflows-webhook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from discordhooks/github-actions-discord-webhook

2.0 0.0 0.0 48 KB

๐Ÿด GitHub workflows notification webhook for Discord in the style of the default GitHub webhook.

License: MIT License

Shell 79.85% Ruby 20.15%
notifications discord webhook actions discord-webhooks github-webhooks discord-webhook-notifications workflows github-actions

discord-workflows-webhook's Introduction

Discord Webhook for Github Actions

Modified to have the same style as the default GitHub webhook.
This is mainly for my own personal use! There will be little to no support provided.

Setup

  1. In Github secrets, add a WEBHOOK_URL variable with the Discord web hook URL.

  2. Inside your workflow file, add this snippet after the build-critical task:

        - name: Send Webhook Notification
          if: always()
          run: |
            git clone https://github.com/Encode42/discord-workflows-webhook.git webhook
            bash webhook/send.sh ${{ job.status }} ${{ secrets.WEBHOOK_URL }}
          shell: bash

    To see a working example, look at this workflow file.

  3. That's all! Webhook notifications will automatically be sent on every workflow run.

discord-workflows-webhook's People

Contributors

encode42 avatar iamtraction avatar justarchi avatar justpyrrha avatar lcombs15 avatar vargeneric avatar

Stargazers

 avatar  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.