build: 不在服务器打包
This commit is contained in:
parent
ae4916ce6f
commit
948c5c7f58
|
|
@ -30,7 +30,8 @@ done
|
|||
if $DEV_MODE; then
|
||||
FRONTEND_CMD="pnpm run dev"
|
||||
else
|
||||
FRONTEND_CMD="env BETTER_AUTH_SECRET=$(python3 -c 'import secrets; print(secrets.token_hex(16))') pnpm run preview"
|
||||
# Use existing build artifacts, don't rebuild
|
||||
FRONTEND_CMD="env BETTER_AUTH_SECRET=$(python3 -c 'import secrets; print(secrets.token_hex(16))') pnpm run start"
|
||||
fi
|
||||
|
||||
# ── Stop existing services ────────────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Reference in New Issue