feat: deploy.sh增加活动环境检测-禁止直接部署到当前活动端口

This commit is contained in:
2026-06-15 11:19:26 +08:00
parent ac49ccb552
commit 452728be32
2 changed files with 26 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ if [ "$ROLLBACK" = true ]; then rollback; exit 0; fi
# ---------- 主部署流程 ----------
show_deploy_info
confirm_deploy
check_not_active
check_dependencies
check_service_file
check_ssl_expiry