diff --git a/deploy/profile-scripts/deploy_guard.py b/deploy/profile-scripts/deploy_guard.py index b1681d01..be2be02b 100644 --- a/deploy/profile-scripts/deploy_guard.py +++ b/deploy/profile-scripts/deploy_guard.py @@ -29,9 +29,9 @@ SYNC_SCRIPT = f"{CANONICAL}/sync_profile_scripts.sh" # 守卫范围:被 git 跟踪的【代码】路径(运行时产物 data/ logs/ static/*.json 不在其列) CODE_PATHS = [ - "deploy/profile-scripts", "deploy/bot", "prompt_manager", - "server.py", "mofin_db.py", "strategy_lifecycle.py", "xmpp_logger.py", - "mo_config.py", "scripts/mo_data.py", + "deploy/profile-scripts", "deploy/bot", "prompt_manager", "scripts", + "server.py", "mofin_db.py", "mo_data.py", "strategy_lifecycle.py", "xmpp_logger.py", + "mo_config.py", "static/index.html", "static/mofin_health.html", ]