From bda1ba68aea91d1787d1ebe812ef919b9c5a609b Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Mon, 29 Jan 2024 10:16:51 -0700 Subject: [PATCH] add github mirror --- .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..a67568d --- /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/hikaru +tasks: + - mirror-to-github: | + cd ~/hikaru + ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + git remote add github git@github.com:swaits/hikaru.git + git push --mirror github