fix: remote set-url

This commit is contained in:
ange 2024-11-18 11:28:00 +00:00
parent a1b67d6b9b
commit e391e59139
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -9,6 +9,6 @@ URL="${GITHUB_SERVER_URL/\/\//\/\/$GITHUB_REPOSITORY_OWNER:$INPUT_TOKEN@}/$GITHU
git init -b main
git remote add origin "$URL"
git remote add origin --push "$INPUT_URL"
git remote set-url --push origin "$INPUT_URL"
git fetch -pP
git push origin --mirror