From 01b869a02dca274f8bf3b71d1412c1bcb6330734 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Mon, 29 Jan 2024 10:37:13 -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..7918365 --- /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/mkdepend +tasks: + - mirror-to-github: | + cd ~/mkdepend + ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + git remote add github git@github.com:swaits/mkdepend.git + git push --mirror github