添加keys 发布接口

This commit is contained in:
pengtao 2019-11-05 14:28:18 +08:00
parent 9d1c3114f6
commit b33374dc26

View File

@ -28,7 +28,10 @@ class DeployKeys:
self.svn_paths = f"{self.svn_base}/{self.project}"
def run(self):
if not os.path.isdir(self.svn_paths):
self.svn_paths = f"/data/publish/svn/{self.env}/global/{self.project}"
svn_path, ipadr = self.get_config()
if ipadr:
args = dict()