Skip to content
Snippets Groups Projects
Commit fada034f authored by Neil's avatar Neil
Browse files
parents e7de60be b4d551bd
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,9 @@ var http = require("http");
var server = http.createServer(function(request, response) {
if ( request.method == 'POST' ) {
// Post request from git hook, Should really check the origin but dont care for now
exec('./build');
exec('/bin/bash build.sh');
console.log('build');
}
});
server.listen(3001);
\ No newline at end of file
server.listen(3001);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment