From a006288d587c92b3dcb8c2770341a5bacde62453 Mon Sep 17 00:00:00 2001 From: lookshe Date: Mon, 26 Sep 2016 15:46:45 +0200 Subject: Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- cgit v1.2.3