chore: try (again) to make github mirroring include all branches

This commit is contained in:
swaits committed 2024-12-10 22:46:36 +00:00
1 parent 4fdd6e2ccd
commit 9645626ee5
1 file changed
+2 -1
+2 -1
View File
@@ -7,6 +7,7 @@ tasks:
- mirror-to-github: |
cd ~/typst-collection
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
# Explicitly fetch all branches & tags
git fetch origin '+refs/heads/*:refs/heads/*' '+refs/tags/*:refs/tags/*' --prune
git remote add github git@github.com:swaits/typst-collection.git
git fetch --all --prune
git push --mirror github