1.修改启动

This commit is contained in:
whm
2026-03-17 01:26:21 +08:00
parent eb56519df7
commit 03e83603ef
4 changed files with 15 additions and 5 deletions

View File

@@ -48,9 +48,9 @@ if [ -n "$DEPLOY_HOST" ]; then
--exclude 'web/dist' \
--exclude 'admin/dist' \
--exclude 'logs' \
"$ROOT/" "$DEPLOY_HOST:${DEPLOY_PATH:-yh_web}/"
"$ROOT/" "$DEPLOY_HOST:${DEPLOY_PATH:-project/yh_web}/"
echo "在远程执行部署..."
ssh "$DEPLOY_HOST" "cd ${DEPLOY_PATH:-yh_web} && chmod +x deploy.sh && ./deploy.sh"
ssh "$DEPLOY_HOST" "cd ${DEPLOY_PATH:-project/yh_web} && chmod +x deploy.sh && ./deploy.sh"
else
run_deploy "$ROOT"
fi