aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-09-26 15:46:45 +0200
committerlookshe <github@lookshe.org>2016-09-26 15:54:37 +0200
commita006288d587c92b3dcb8c2770341a5bacde62453 (patch)
treef3946f05c2c4f925521a103aa34341c4f3ad5340
parent39276c807a47fdc9178becdfabf825e3eaeb4cfe (diff)
Update README.mdHEADmaster
Diffstat (limited to '')
-rw-r--r--README.md10
1 files 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