Use user-level deployment by default

This commit is contained in:
武阳
2026-05-07 12:03:00 +08:00
parent ec38ffe291
commit fd70af4d56
5 changed files with 29 additions and 30 deletions
+2 -3
View File
@@ -1,12 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
# 适合 README 中 curl | bash 的安装入口
# 它只负责 clone/pull 仓库,然后调用仓库内 scripts/deploy-ubuntu.sh。
# 从 git 拉取/更新仓库,然后调用仓库内 scripts/deploy-ubuntu.sh
REPO="${REPO:-git@git.n.xiaomi.com:wuyang6/zk-data-agent.git}"
BRANCH="${BRANCH:-main}"
APP_DIR="${APP_DIR:-/opt/zk-data-agent}"
APP_DIR="${APP_DIR:-${HOME}/zk-data-agent}"
FORCE=0
usage() {