diff --git a/phase5_migrate_pipelines.sh b/phase5_migrate_pipelines.sh index 47e6d28..5052e06 100755 --- a/phase5_migrate_pipelines.sh +++ b/phase5_migrate_pipelines.sh @@ -19,11 +19,11 @@ source "${SCRIPT_DIR}/lib/common.sh" load_env require_vars GITEA_ADMIN_TOKEN GITEA_INTERNAL_URL GITEA_ORG_NAME \ GITEA_ADMIN_USER GITEA_ADMIN_PASSWORD \ - REPO_1_NAME REPO_2_NAME REPO_3_NAME + REPO_NAMES phase_header 5 "Migrate Pipelines (GitHub → Gitea Actions)" -REPOS=("$REPO_1_NAME" "$REPO_2_NAME" "$REPO_3_NAME") +read -ra REPOS <<< "$REPO_NAMES" TEMP_BASE="/tmp/gitea-migration" MIGRATION_HEADER="# Migrated from GitHub Actions — review for Gitea compatibility" GITEA_BASE_URL="${GITEA_INTERNAL_URL%/}"