Send url instead of name to deploy script

This commit is contained in:
nikolark committed 2014-10-06 11:47:36 +02:00
1 parent 3a3fea3624
commit 6197cc2a71
1 file changed
+1 -2
+1 -2
View File
@@ -72,8 +72,7 @@ class Ping:
self.log("No deploy path defined.")
return
# run the deployscript
# TODO: send clone url instead to support remote repos
args = [settings.DEPLOY_SCRIPT_PATH, settings.REPOS[url], name]
args = [settings.DEPLOY_SCRIPT_PATH, settings.REPOS[url], url]
self.log("Updating repo: \'" + " ".join(args) + "\'")
Popen(args)