From 56e684c28d9ad9f33c00a1d67f96193e4b54321c Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Mon, 29 Jan 2024 10:00:02 -0700 Subject: [PATCH] add github mirroring --- .build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..ef71680 --- /dev/null +++ b/.build.yml @@ -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