From 9cc9f3d7a3a882af63d4b86818c6f9241f3ee7ac Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Mon, 29 Jan 2024 10:38:18 -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..ad5bbe3 --- /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/docrawler +tasks: + - mirror-to-github: | + cd ~/docrawler + ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + git remote add github git@github.com:swaits/docrawler.git + git push --mirror github