From 2c746c734692965e4cb91f213e5195039414cd7c Mon Sep 17 00:00:00 2001 From: tekkub Date: Tue, 17 Nov 2009 23:05:42 -0700 Subject: I are good writing --- _posts/2009-11-17-testing-webhooks.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_posts/2009-11-17-testing-webhooks.textile') diff --git a/_posts/2009-11-17-testing-webhooks.textile b/_posts/2009-11-17-testing-webhooks.textile index 7beb0f0..6fe72d4 100644 --- a/_posts/2009-11-17-testing-webhooks.textile +++ b/_posts/2009-11-17-testing-webhooks.textile @@ -10,7 +10,7 @@ Testing that a webhook works can be a bit of a pain. Thankfully with the help o h2. When hooks are fired -First and foremost, webhooks are not always called when a push is made. Currently hooks only fire when a branch that exists on GitHub is modified. Pushing new branches, deleting branches, and creating tags will not fire a webhook. Forced pushes such as @git push origin master --force@ may not predictably call hooks as well. I ensure your commits are sent to your webhook always push the branch when it is created before you commit, so that it exists on GitHub when you push the commits you want sent to the webhook. +First and foremost, webhooks are not always called when a push is made. Currently hooks only fire when a branch that exists on GitHub is modified. Pushing new branches, deleting branches, and creating tags will not fire a webhook. Forced pushes such as @git push origin master --force@ may not predictably call hooks as well. To ensure your commits are sent to your webhook, always push the branch when it is created before you commit. This way the branch exists on GitHub when you push the commits you want sent to the webhook. h2. Setting up -- cgit v1.3.1