Skip to content

Repository Webhooks

Maxime edited this page Aug 7, 2019 · 4 revisions

Repository webhooks

To keep our local information about the synced repositories up to date, we will create webhooks. The hooks will trigger when relevant information is changed, notifying the backend of the changes.

A public server (like the one where our repositories is hosted) cannot send requests to you local computer. This would mean that during local development we cannot get requests from github notifying us of a change. Github has a page explaining how to test you webhooks locally.

In short, you configure a server and connect it to your computer so that the requests are forwarded to your local system. You can use a service like ngrok or you own ssh tunnel to a vps.

Github

Github webhooks (REST api)

Overview

Clone this wiki locally