fix: update Gitea repo path to replit/timmy-tower

- deploy.sh: GITEA_REPO changed from admin/timmy-tower to replit/timmy-tower;
  git clone user changed from admin to replit
- push-to-gitea.sh: GITEA_REPO_OWNER default changed from admin to replit

The admin/timmy-tower repo doesn't exist — admin is not a Gitea username.
Canonical repo is replit/timmy-tower on Hermes Gitea.
This commit is contained in:
Replit Agent
2026-03-20 21:50:44 +00:00
parent 7cbb451821
commit 0acec171a3
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@
set -euo pipefail
GITEA_USER="${GITEA_USER:-replit}"
GITEA_REPO_OWNER="${GITEA_REPO_OWNER:-admin}"
GITEA_REPO_OWNER="${GITEA_REPO_OWNER:-replit}"
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
RED='\033[0;31m'; GREEN='\033[0;32m'; YELLOW='\033[1;33m'; CYAN='\033[0;36m'; NC='\033[0m'

View File

@@ -11,7 +11,7 @@ WORK_DIR="/tmp/timmy-deploy-$$"
LOG="$DEPLOY_DIR/deploy.log"
TOKEN_FILE="/root/.gitea-replit-token"
GITEA_HOST="143.198.27.163:3000"
GITEA_REPO="admin/timmy-tower"
GITEA_REPO="replit/timmy-tower"
HEALTH_URL="http://localhost:8088/api/healthz"
log() { echo "[$(date -u +%FT%TZ)] [deploy] $*" | tee -a "$LOG"; }
@@ -30,7 +30,7 @@ fi
TOKEN=$(tr -d '[:space:]' < "$TOKEN_FILE")
log "Cloning repo from Hermes Gitea..."
git clone --depth=1 \
"http://admin:${TOKEN}@${GITEA_HOST}/${GITEA_REPO}.git" \
"http://replit:${TOKEN}@${GITEA_HOST}/${GITEA_REPO}.git" \
"$WORK_DIR" 2>&1 | tail -3 | tee -a "$LOG"
# ── 3. Install deps + build ───────────────────────────────────────────────────