diff options
author | lookshe <github@lookshe.org> | 2016-09-26 15:46:45 +0200 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2016-09-26 15:54:37 +0200 |
commit | a006288d587c92b3dcb8c2770341a5bacde62453 (patch) | |
tree | f3946f05c2c4f925521a103aa34341c4f3ad5340 | |
parent | 39276c807a47fdc9178becdfabf825e3eaeb4cfe (diff) |
Diffstat (limited to '')
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |