From 608562c0c3eaeff078325d76de9589a55c97816e Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Wed, 25 Sep 2024 20:39:12 -0600 Subject: [PATCH] chore: add GH mirroring build script --- .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..2883428 --- /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/bpetok +tasks: + - mirror-to-github: | + cd ~/bpetok + ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + git remote add github git@github.com:swaits/bpetok.git + git push --mirror github