fix: 修正测试前端部署目录
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
This commit is contained in:
@@ -7,7 +7,7 @@ BUILD_DIR="${BUILD_DIR:-${ROOT_DIR}/shihezi}"
|
|||||||
DEPLOY_HOST="${DEPLOY_HOST:-47.111.103.66}"
|
DEPLOY_HOST="${DEPLOY_HOST:-47.111.103.66}"
|
||||||
DEPLOY_USER="${DEPLOY_USER:-root}"
|
DEPLOY_USER="${DEPLOY_USER:-root}"
|
||||||
DEPLOY_SSH_PORT="${DEPLOY_SSH_PORT:-22}"
|
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}"
|
YARN_CMD="${YARN_CMD:-yarn}"
|
||||||
|
|
||||||
SKIP_INSTALL=0
|
SKIP_INSTALL=0
|
||||||
@@ -39,7 +39,7 @@ usage() {
|
|||||||
|
|
||||||
默认配置(均可通过环境变量覆盖):
|
默认配置(均可通过环境变量覆盖):
|
||||||
DEPLOY_USER SSH 用户名,默认 root
|
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_HOST SSH 主机,默认 47.111.103.66
|
||||||
DEPLOY_SSH_PORT SSH 端口,默认 22
|
DEPLOY_SSH_PORT SSH 端口,默认 22
|
||||||
BUILD_DIR 本地构建目录,默认 ./shihezi(由 config/config.ts 的 outputPath 决定)
|
BUILD_DIR 本地构建目录,默认 ./shihezi(由 config/config.ts 的 outputPath 决定)
|
||||||
|
|||||||
Reference in New Issue
Block a user