developmentseed / jekyll-hook

No Longer Maintained | A server that listens for GitHub webhook posts and renders a Jekyll site
BSD 3-Clause "New" or "Revised" License
508 stars 83 forks source link

Does the executable have to be running for the server to receive the webhook? #11

Closed mayarichman closed 10 years ago

mayarichman commented 10 years ago

I configured the Ubuntu server with jekyll-hook and have successfully published my Jekyll site to my domain name, but the webhook comes up with a "Service Timeout" error if I am not running the executable at the time of the payload push.

Is it possible to have the server receive the payload without locally running the executable?

My webhook links to http://example.org:8080/hooks/jekyll/gh-pages like the Readme.md suggests.

parkr commented 10 years ago

No, you must be running the executable. Run it in a tmux session or run it via launchd or another daemon so you don't have to run it manually.

mayarichman commented 10 years ago

Awesome. Got it up and running with this tutorial https://www.digitalocean.com/community/articles/how-to-write-a-linux-daemon-with-node-js-on-a-vps. There is some latency when I push the changes, but it works. Thanks!