Aditya Kadali
Aditya Kadali

Follow

Aditya Kadali

Follow
Link your Github updates to your Discord

Link your Github updates to your Discord

Aditya Kadali's photo
Aditya Kadali
·Nov 21, 2022·

1 min read

Using web hooks we can post updates of our github repo in a discord channel. In this blog post I will show you how to do this.

Step 1:

Create webhook in your discord server if you are already having one use that one it will look something like this https://discord.com/api/webhooks/104433093165.... or you can create that in

Channel settings -> Integrations -> Webhooks -> Create

image.png

copy that webhook url from here

Step 2:

Go to your github repo that you want to get in your desired channel

open repo -> repo settings -> webhooks -> add webhooks

image.png

Step 3:

Add webhook by adding /github to the end of your url then your url will be something like this https://discord.com/api/webhooks/1044330931659477043/asdhhsadn_3A/github

and change content type to aplication/JSON then submit

image.png

That's it you have successfully created a webhook that pushes your commits to your discord channel and that will look something like this

image.png

 
Share this