From c29f5819c502628a1d626cff1405677cc7c91c05 Mon Sep 17 00:00:00 2001 From: Mikkeli Date: Wed, 14 Oct 2026 08:43:40 +0900 Subject: [PATCH] Deploy: build host pulls Gitea by its tailnet name (pi5-16), resetting old LAN-address remotes Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz --- scripts/deploy-native.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/deploy-native.sh b/scripts/deploy-native.sh index 6e6a438..b7650ac 100755 --- a/scripts/deploy-native.sh +++ b/scripts/deploy-native.sh @@ -26,7 +26,9 @@ OUT="$(mktemp -d)/$BIN" ssh "$BUILD_HOST" "set -e mkdir -p ~/dev/yukart && cd ~/dev/yukart for r in svc-core contracts; do - [ -d \$r ] || git clone -q http://192.168.2.199:3005/yukart/\$r.git + # Gitea by its tailnet name, so a deploy works away from the home LAN too. + [ -d \$r ] || git clone -q http://pi5-16:3005/yukart/\$r.git + git -C \$r remote set-url origin http://pi5-16:3005/yukart/\$r.git git -C \$r pull -q --ff-only done cd svc-core && ~/.cargo/bin/cargo build --release --bin $BIN 2>&1 | tail -1