GitHub Webhook Server

Follow the steps below to set it up properly

๐Ÿ”ง Setup Instructions

  1. Go to your repository on GitHub.
  2. Click on Settings > Webhooks > Add webhook.
  3. In Payload URL, enter your server URL:
    https://webhook.c2coder.eu/webhook
  4. Set Content type to application/json.
  5. Choose the events you want (e.g., Push, Pull Request, I use All).
  6. Add a secret. It is stored in the .env file.
  7. Click Add webhook.

๐Ÿงช Testing

You can test it by clicking "Recent Deliveries" in the webhook settings. Make sure your server logs the request.

๐Ÿ“œ Notes

Source on GitHub

20 Most recent (useful) deliveries