...
|
...
|
@@ -14,10 +14,10 @@ PATH = "~/.tmp/auto_deploy" |
|
|
|
|
|
# clone deploy project to local
|
|
|
if os.path.isdir(PATH):
|
|
|
call("rm -rf %s" %PATH, shell=True)
|
|
|
call("rm -rf %s" % PATH , shell=True)
|
|
|
else:
|
|
|
call("mkdir -p %s" %PATH)
|
|
|
call("git clone --recursive git@git.yoho.cn:yohoops/auto_deploy.git %s" %PATH, shell=True)
|
|
|
call("mkdir -p %s" % PATH, shell=True)
|
|
|
call("git clone --recursive git@git.yoho.cn:yohoops/auto_deploy.git %s" % PATH, shell=True)
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|