🔧 Setup Instructions
- Go to your repository on GitHub.
-
Click on Settings >
Webhooks > Add webhook.
-
In Payload URL, enter your server URL:
https://webhook.c2coder.eu/webhook
-
Set Content type to
application/json.
-
Choose the events you want (e.g., Push,
Pull Request, I use All).
-
Add a secret. It is stored in the
.env file.
- Click Add webhook.
🧪 Testing
You can test it by clicking “Recent Deliveries” in
the webhook settings. Make sure your server logs the request.
📜 Notes
-
Ensure your server is publicly accessible (use a domain or public
IP).
-
If running locally, use a tool like
ngrok.
- Use HTTPS for security — GitHub requires it.