My webhooks aren't working

Posted January 13, 2020 2.2k views
Automated Setups

I’ve followed the tutorial here:

I’ve used the exact same files as them. I’ve setup a ssh key in my bitbucket repo, and the webhook says it’s matching, but the trigger rules aren’t being fulfilled.

I am not familiar with this area, so I don’t know what could be going wrong, any help?

[webhook] 2020/01/13 05:17:44 version 2.6.5 starting
[webhook] 2020/01/13 05:17:44 setting up os signal watcher
[webhook] 2020/01/13 05:17:44 attempting to load hooks from /opt/hooks/hooks.json
[webhook] 2020/01/13 05:17:44 found 1 hook(s) in file
[webhook] 2020/01/13 05:17:44   loaded: redeploy-app
[webhook] 2020/01/13 05:17:44 serving hooks on{id}
[webhook] 2020/01/13 05:17:44 os signal watcher ready
[webhook] 2020/01/13 05:17:57 [ecb8d9] incoming HTTP request from
[webhook] 2020/01/13 05:17:57 [ecb8d9] redeploy-app got matched
[webhook] 2020/01/13 05:17:57 [ecb8d9] redeploy-app got matched, but didn't get triggered because the trigger rules were not satisfied
[webhook] 2020/01/13 05:17:57 200 | 1.0557ms | | POST /hooks/redeploy-app 

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello, @strommj20

Can you please make sure that you’ve set application/json for Content Type as per step 4, point 4 in the tutorial:

Let me know how it goes.


by Sanjin Šarić
When a developer is making continuous changes to an application, a deployment system with webhooks can streamline development, particularly for teams. Integrating Slack notifications for code changes into a team's workflow can also be helpful if part of the team relies on back-end software like an API. In this tutorial, you will set up an application with `create-react-app` and configure a webhook deployment system that integrates with GitHub and Slack.