U 优化常规发布构建目录配置处理

pull/586/head
vapao 2022-07-21 15:43:50 +08:00
parent f07caacbdc
commit 301ac1de67
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ import uuid
import os
REPOS_DIR = settings.REPOS_DIR
BUILD_DIR = settings.BUILD_DIR
def dispatch(req, fail_mode=False):
@ -247,7 +248,7 @@ def _deploy_ext1_host(req, helper, h_id, env):
try:
callback = helper.progress_callback(host.id)
ssh.put_file(
os.path.join(REPOS_DIR, 'build', tar_gz_file),
os.path.join(BUILD_DIR, tar_gz_file),
os.path.join(extend.dst_repo, tar_gz_file),
callback
)