refactor: use REPO_NAMES in phase8_teardown.sh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
S
2026-03-01 10:05:45 -05:00
parent d25a2075d4
commit 077ab55018

View File

@@ -17,11 +17,11 @@ load_env
require_vars UNRAID_IP UNRAID_SSH_USER \ require_vars UNRAID_IP UNRAID_SSH_USER \
GITEA_DOMAIN NGINX_CONTAINER_NAME NGINX_CONF_PATH \ GITEA_DOMAIN NGINX_CONTAINER_NAME NGINX_CONF_PATH \
SSL_MODE GITHUB_USERNAME GITHUB_TOKEN \ SSL_MODE GITHUB_USERNAME GITHUB_TOKEN \
REPO_1_NAME REPO_2_NAME REPO_3_NAME REPO_NAMES
log_warn "=== Phase 8 Teardown: Cutover ===" log_warn "=== Phase 8 Teardown: Cutover ==="
REPOS=("$REPO_1_NAME" "$REPO_2_NAME" "$REPO_3_NAME") read -ra REPOS <<< "$REPO_NAMES"
PHASE8_STATE_FILE="$(_project_root)/.manifests/phase8_github_repo_state.json" PHASE8_STATE_FILE="$(_project_root)/.manifests/phase8_github_repo_state.json"
github_pages_http_code() { github_pages_http_code() {