I'm trying to autodeploy my project using node.js and Github webhooks. I followed this tutorial, but I'm getting this execFile function error:
{ [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' } I checked the shell script (hook.sh) file location and the fs.exists function says it's ok. I tried to exec other file than a shell script and it worked (or at least it found that file). So it might be some kind of problem with the bin/bash. I really don't know. The shell script file is located in the same directory as the hook.js file (see the tutorial).
My webhost is WebFaction.
spawnorexecFile?