From 5a9ea2b47591fe4a6d4f344c57f4deb12fc5b58b Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Wed, 21 Aug 2024 19:04:24 -0600 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..1c7d732 --- /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/workdays +tasks: + - mirror-to-github: | + cd ~/workdays + ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + git remote add github git@github.com:swaits/workdays.git + git push --mirror github