hooktest Posted on 2017-12-15 deploy node webhook script通过GitHub webhook 同步博客 12345678910var http = require('http');var exec = require('child_process').exec;var server = http.createClient((req,res)=>{ if(req.url==='webhooks/push'){ exec("") console.log(123); }});server.listen(4000)