douyinWEB/scripts/_deploy_physical_only.py
eric e82407fceb Fix dual deploy when physical /opt/douyinWEB has no .git (tarball install).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 01:25:19 -05:00

20 lines
528 B
Python

#!/usr/bin/env python3
"""Deploy origin/test1 to physical guest only (after dylive already OK)."""
from __future__ import annotations
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent))
from _deploy_git_pull_both import PHYSICAL, deploy_host # noqa: E402
if __name__ == "__main__":
raise SystemExit(
deploy_host(
PHYSICAL,
label="physical",
public_health="https://dy.nomadro.com/api/health",
use_sudo=True,
)
)