This commit is contained in:
vet
2026-04-20 12:51:03 +07:00
parent 8d3b8bdc23
commit fa6b610ddf
8 changed files with 90 additions and 95 deletions

5
dt.sh
View File

@@ -46,6 +46,7 @@ deploy-test 后端/基础服务:
status 调用 deploy-test/status.sh
deploy-test 前端:
pc-build 调用 deploy-test/08-build-pc.sh构建 /app/pc/dist
fe-start [project] 调用 deploy-test/07-start-frontend.sh [project]
fe-stop [project] 调用 deploy-test/stop-frontend.sh [project]
@@ -59,6 +60,7 @@ deploy-test 前端:
示例:
./deploy-test/dt.sh pull
./deploy-test/dt.sh build
./deploy-test/dt.sh pc-build
./deploy-test/dt.sh restart
./deploy-test/dt.sh fe-start pc
./deploy-test/dt.sh deploy
@@ -189,6 +191,9 @@ main() {
status)
run_deploy_test_script "status.sh" "$@"
;;
pc-build)
run_deploy_test_script "08-build-pc.sh" "$@"
;;
fe-start)
run_deploy_test_script "07-start-frontend.sh" "$@"
;;