This commit is contained in:
yihau 2022-04-22 12:59:17 +08:00
parent c544742091
commit 84d5a6d44f
1 changed files with 2 additions and 2 deletions

View File

@ -29,6 +29,6 @@ echo "Exporting $subdir"
set -x
rm -rf .github_export/"$repo_name"
git clone https://"$GITHUB_TOKEN"@github.com/solana-labs/"$repo_name" .github_export/"$repo_name"
git clone https://"$GITHUB_TOKEN"@github.com/yihau/"$repo_name" .github_export/"$repo_name"
git filter-repo --subdirectory-filter "$subdir" --target .github_export/"$repo_name"
git -C .github_export/"$repo_name" push https://"$GITHUB_TOKEN"@github.com/solana-labs/"$repo_name"
git -C .github_export/"$repo_name" push https://"$GITHUB_TOKEN"@github.com/yihau/"$repo_name"