refactor: use REPO_NAMES in phase6_github_mirrors.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -19,11 +19,11 @@ source "${SCRIPT_DIR}/lib/common.sh"
|
||||
load_env
|
||||
require_vars GITEA_ADMIN_TOKEN GITEA_INTERNAL_URL GITEA_ORG_NAME \
|
||||
GITHUB_USERNAME GITHUB_TOKEN GITHUB_MIRROR_INTERVAL \
|
||||
REPO_1_NAME REPO_2_NAME REPO_3_NAME
|
||||
REPO_NAMES
|
||||
|
||||
phase_header 6 "GitHub Push Mirrors"
|
||||
|
||||
REPOS=("$REPO_1_NAME" "$REPO_2_NAME" "$REPO_3_NAME")
|
||||
read -ra REPOS <<< "$REPO_NAMES"
|
||||
|
||||
SUCCESS=0
|
||||
FAILED=0
|
||||
|
||||
Reference in New Issue
Block a user