Skip to content

Commit

Permalink
Merge pull request #1 from nese/master
Browse files Browse the repository at this point in the history
Make source deploy folder configurable
  • Loading branch information
ZheFeng committed Jul 19, 2014
2 parents fa80dbc + 036f1ad commit b3320c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/deploy.js
Expand Up @@ -69,7 +69,7 @@
var execLocal = require('child_process').exec;
var child;

child = execLocal("scp -r . " + server.username + "@" + server.host + ":" + options.deploy_path + "/releases/" + timeStamp, function (error, stdout, stderr) {
child = execLocal("scp -r " + (options.source_path || ".") + " " + server.username + "@" + server.host + ":" + options.deploy_path + "/releases/" + timeStamp, function (error, stdout, stderr) {
console.log('end deploy');

console.log('executing cmds after deploy');
Expand Down

0 comments on commit b3320c0

Please sign in to comment.