loading...
Cover image for Follow your repository from Discord
Mr. Robøt

Follow your repository from Discord

thomasbnt profile image Thomas Bnt ・1 min read

My Workflow

This Action is used for write at every push the progress to a project and/or updates. It's only for Discord users and work with Webhooks and secrets tokens on GitHub.

I modified this script for showing to users who follow my project to stay updated for the new version. 😁

This is a preview.

Submission Category: Maintainer Must-Haves

Setup

Really simple, you must have :

  • Discord Webhook URL
  • A active repository on GitHub
  • Integrate this script to your GitHub repository
name: Discord Webhook
on: [push]
jobs:
  report:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout repository
      uses: actions/checkout@v1
    - name: Run Discord Webhook
      uses: Mist3r-Robot/discord-webhook@master
      with:
        id: ${{ secrets.DISCORD_WEBHOOK_ID }}
        token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}

How to get a Wehbook link on Discord ?

In this video, I selected two IDs. The first is DISCORD_WEBHOOK_ID and the second is DISCORD_WEBHOOK_TOKEN

And how to put my ID and secret token in my GitHub repository ?

Additional Resources / Info

Check out now the repository.

GitHub logo Mist3r-Robot / classic-discord-webhook

This GitHub Action can produce fancy and more meaningful discord messages for your commits.

If you have questions, don't hesitate !

Check my Twitter account. You can see many projects and updates. You can also support me on BuyMeaCoffee.

Posted on by:

thomasbnt profile

Thomas Bnt

@thomasbnt

French web developer maintly but touches everything, servers, bots, community management, events, social networks and moore. I learn VueJs at this moment and MySQL. — Addict to Cappuccino and Music

Mr. Robøt

A French Discord bot for stopping spams and harassments. Modding tool and logging.

Discussion

pic
Editor guide
 

I really like the Idea!

 

Thanks! 🙌🏼

 

That's awesome ! This an integration I felt was missing, well done !