Tag: GitHub

  • How to send GitHub updates to Discord

    Part 1 — Discord

    1. Open the desired Discord channel where you want to post commit messages and other GitHub updates.
    1. In the channel settings, find the Webhooks section and create a new webhook.
      ⚠️ Note: Do not share this URL! Anyone with the link can post messages to this channel, even without being on the server.

    Part 2 — GitHub

    1. Go to your GitHub repository and open the Settings tab.
    1. In the Webhooks section, click “Add webhook”.
    1. In the “Payload URL” field, paste the Discord webhook URL from step 2 and make sure to add /github at the end — otherwise, the integration won’t work.
      • In “Content type”, select application/json
      • In “Which events would you like to trigger this webhook?”, choose the types of events you want to trigger notifications.
    1. Test the integration by making a commit or another change in the repository.