I’ve followed the tutorial here: https://www.digitalocean.com/community/tutorials/deploying-react-applications-with-webhooks-and-slack-on-ubuntu-16-04
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 http://0.0.0.0:9000/hooks/{id}
[webhook] 2020/01/13 05:17:44 os signal watcher ready
[webhook] 2020/01/13 05:17:57 [ecb8d9] incoming HTTP request from 18.234.32.228:51380
[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 | mattstromdesign.com:9000 | POST /hooks/redeploy-app
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.