diff --git a/README.md b/README.md index 3d5d76d..677d672 100644 --- a/README.md +++ b/README.md @@ -92,11 +92,11 @@ Now, if you visit `https://example.com/git-mirror/webhook.py` (replace with your URL), the script should run and tell you `Repository missing or not found.`. -The next step is to add this as a webhook to the GitHub repository you want to -sync with, to create a fresh SSH key and configure it as deployment key for the -repository, and to configure git-mirror accordingly. For additional security, -one should also configure a shared HMAC secret, such that the webhook can verify -that the data indeed comes from GitHub. +The next step is to add this as a webhook (add ?repository=repo-name at the end!) +to the GitHub repository you want to sync with, to create a fresh SSH key and +configure it as deployment key for the repository, and to configure git-mirror +accordingly. For additional security, one should also configure a shared HMAC +secret, such that the webhook can verify that the data indeed comes from GitHub. To make your job easier, there is a script `github-add-hooks.py` that can do all this for you. It assumes that the repository exists on the GitHub side, but