部署文档与脚本增加 HTTP 代理配置(192.168.8.246:10810)。

This commit is contained in:
dekun
2026-06-28 13:24:19 +08:00
parent f1ad4273f4
commit 4375ea491e
5 changed files with 78 additions and 3 deletions
+5
View File
@@ -11,10 +11,15 @@ NC='\033[0m'
log_info() { echo -e "${GREEN}[INFO]${NC} $*"; }
log_error() { echo -e "${RED}[ERROR]${NC} $*" >&2; }
# shellcheck source=proxy.sh
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/proxy.sh"
cd "${INSTALL_DIR}" || exit 1
find "${INSTALL_DIR}" -name "*.sh" -exec sed -i 's/\r$//' {} +
chmod +x deploy/start.sh
setup_deploy_proxy
log_info "拉取最新代码…"
git fetch origin
git checkout "${BRANCH}" 2>/dev/null || true