Update .gitea/workflows/mirror.yml

This commit is contained in:
Lunny Xiao committed 2024-05-30 14:56:02 +00:00
1 parent 2398eeb41a
commit c46839ce6d
1 file changed
+2 -1
+2 -1
View File
@@ -57,4 +57,5 @@ jobs:
git clone --mirror https://github.com/${{ matrix.source }} ./${{ matrix.source }}
cd ./${{ matrix.source }}
git remote add gitea https://x-access-token:${{ secrets.PUSH_ACTIONS_TOKEN }}@gitea.com/${{ matrix.dest }}.git
git push --mirror gitea
git push --all --force --prune gitea
git push --tags --force --prune gitea