증분백업 로직 개선

This commit is contained in:
Lectom C Han
2025-12-16 13:24:56 +09:00
parent 2027880b9a
commit ede73f4434
3 changed files with 5 additions and 1 deletions

View File

@@ -226,6 +226,10 @@ jobs:
fi
git remote add origin "${GITEA_REMOTE}"
git remote add source "${source_repo_url}"
echo "Seeding objects from target main for delta fetch..."
if ! git fetch --no-tags origin "+refs/heads/main:refs/heads/main"; then
echo "::warning::Failed to fetch target main; continuing without seed"
fi
fi
echo "Fetching latest branch '${branch_name}' from source..."