Improve workbench UX and read-only live readiness

This commit is contained in:
Codex
2026-05-20 11:45:06 +08:00
parent 63b3d11b19
commit 6edf2e39ae
18 changed files with 542 additions and 94 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ def run_remote(client, command: str, *, timeout: int = 120, sudo_password: Optio
def build_deploy_command(*, remote_path: str, remote_archive: str) -> str:
remote_path_q = _sh_quote(remote_path)
remote_archive_q = _sh_quote(remote_archive)
env_backup = "/root/ai-ict-deploy.env.bak"
env_backup = f"{remote_path.rstrip('/')}/.env.deploy.bak"
return " && ".join(
[
f"mkdir -p {remote_path_q}",