Optimized cnb mirror CI (#7117)

This commit is contained in:
Deeka Wong 2024-10-14 20:27:18 +08:00 committed by GitHub
parent 4ff0d284a9
commit cc61a3602f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,4 +18,4 @@ jobs:
# git fetch -p origin # git fetch -p origin
# git for-each-ref --format 'delete %(refname)' refs/pull | git update-ref --stdin # git for-each-ref --format 'delete %(refname)' refs/pull | git update-ref --stdin
# git push --mirror # git push --mirror
git push --prune "$DESTINATION_REPO" "refs/heads/*:refs/heads/*" "refs/tags/*:refs/tags/*" git push -f --prune "$DESTINATION_REPO" "refs/heads/*:refs/heads/*" "refs/tags/*:refs/tags/*"