add github mirroring

This commit is contained in:
swaits committed 2024-01-29 10:00:02 -07:00
1 parent 5cd1dea9d4
commit 56e684c28d
1 file changed
+11
+11
View File
@@ -0,0 +1,11 @@
image: alpine/edge
secrets:
- 88cce185-d2ec-4573-9546-e33f36f79bbf
sources:
- git+ssh://git@git.sr.ht/~swaits/megapermute
tasks:
- mirror-to-github: |
cd ~/megapermute
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
git remote add github git@github.com:swaits/megapermute.git
git push --mirror github