new work flow 1

This commit is contained in:
wmantly committed 2016-09-30 17:54:31 -04:00
1 parent 2d027afa29
commit d91df030be
4 files changed
+31 -16

No files matched your search

+3 -3
View File
@@ -12,19 +12,19 @@ var calls = {
create: function(req, res, name, sshURL){
return exec('bash /var/www/gitdeploy/create.sh '+name+' '+sshURL, function(err, stdout, stderr){
console.log(err, stdout, stderr);
return res.json({ title: 'Express' });
return res.json({ title: stdout });
});
},
update: function(req, res, name, sshURL){
return exec('bash /var/www/gitdeploy/update.sh '+name+' '+sshURL, function(err, stdout, stderr){
console.log(err, stdout, stderr);
return res.json({ title: 'Express' });
return res.json({ title: stdout });
});
},
delete: function(req, res, name, sshURL){
return exec('bash /var/www/gitdeploy/delete.sh '+name+' '+sshURL, function(err, stdout, stderr){
console.log(err, stdout, stderr);
return res.json({ title: 'Express' });
return res.json({ title: stdout });
});
}