Skip to content

Commit

Permalink
[README] Update webhook infos.
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed May 24, 2014
1 parent 50e0dfc commit 63f10a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -87,8 +87,6 @@ Check if it is enabled:

### Usage in interested web services

Currently you get a ping on each commit. We will add more hooks, and you will be able to choose which you'd like, but for now it's just commits.

1. Add your URL wherever one of the hook config methods (see above) is called (currently `ìnit.rb`).
1. Add your URL wherever one of the hook config methods (see above) is called (currently in `ìnit.rb`).
2. We recommend you add `OUTGOING_HOOK_PATH` to the path to at least obscure your path.
3. Install a POST route in your service that corresponds to the URL. Note: You MUST NOT use the value in `OUTGOING_HOOK_PATH` inside your public code. Instead, use an ENV variable as well, and set it to correspond to `OUTGOING_HOOK_PATH`.

0 comments on commit 63f10a5

Please sign in to comment.