From 2fbba8a993742312320dc71b04c1dac7c7c760dd Mon Sep 17 00:00:00 2001 From: lapuda <577732344@qq.com> Date: Thu, 23 Jul 2026 16:17:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=83=A8=E7=BD=B2=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/deploy-frontend.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy-frontend.sh b/scripts/deploy-frontend.sh index 7213774..6fdda75 100755 --- a/scripts/deploy-frontend.sh +++ b/scripts/deploy-frontend.sh @@ -7,7 +7,7 @@ BUILD_DIR="${BUILD_DIR:-${ROOT_DIR}/shihezi}" DEPLOY_HOST="${DEPLOY_HOST:-47.111.103.66}" DEPLOY_USER="${DEPLOY_USER:-root}" DEPLOY_SSH_PORT="${DEPLOY_SSH_PORT:-22}" -DEPLOY_PATH="${DEPLOY_PATH:-/opt/service/project/shz-admin/dist}" +DEPLOY_PATH="${DEPLOY_PATH:-/opt/service/project/shihezi}" YARN_CMD="${YARN_CMD:-yarn}" SKIP_INSTALL=0 @@ -39,7 +39,7 @@ usage() { 默认配置(均可通过环境变量覆盖): DEPLOY_USER SSH 用户名,默认 root - DEPLOY_PATH 服务器上的前端静态文件目录,默认 /opt/service/project/shz-admin/dist + DEPLOY_PATH 服务器上的前端静态文件目录,默认 /opt/service/project/shihezi DEPLOY_HOST SSH 主机,默认 47.111.103.66 DEPLOY_SSH_PORT SSH 端口,默认 22 BUILD_DIR 本地构建目录,默认 ./shihezi(由 config/config.ts 的 outputPath 决定)