diff --git a/mirror.sh b/mirror.sh index 4b0e5fa..0cba3f4 100755 --- a/mirror.sh +++ b/mirror.sh @@ -9,5 +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 fetch -pP -git push origin --repo="$INPUT_URL" --mirror +git push origin --mirror