打包修改

This commit is contained in:
曹前明 2022-06-24 01:06:47 +08:00
parent f79f080b22
commit 95617d422d
1 changed files with 4 additions and 4 deletions

View File

@ -25,15 +25,15 @@ def backup_database():
@shared_task
def reload_server_git():
command = 'bash {}/git_server.sh'.format(SH_PATH)
completed = subprocess.run(command, shell=True, capture_output=True, text=True)
return completed
subprocess.run(command, shell=True, capture_output=True, text=True)
# return completed
@shared_task
def reload_web_git():
command = 'bash {}/git_web.sh'.format(SH_PATH)
completed = subprocess.run(command, shell=True, capture_output=True, text=True)
return completed
subprocess.run(command, shell=True, capture_output=True, text=True)
# return completed
@shared_task