hooktest

deploy

node webhook script
通过GitHub webhook 同步博客

1
2
3
4
5
6
7
8
9
10
var 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)