From 2ca3420035ddc362c26d97cd1f925b626f74c2ca Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Mon, 29 Jan 2024 10:06:00 -0700 Subject: [PATCH] add github mirror --- .build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.build.yml b/.build.yml index ce3470d..6f01fe1 100644 --- a/.build.yml +++ b/.build.yml @@ -8,6 +8,8 @@ packages: - cargo-outdated - cargo-tarpaulin - cargo-udeps +secrets: + - 88cce185-d2ec-4573-9546-e33f36f79bbf sources: - https://git.sr.ht/~swaits/vivaldi-nc artifacts: @@ -73,3 +75,8 @@ tasks: cd vivaldi-nc/ rustup run stable cargo doc --no-deps rustup run nightly cargo doc --no-deps ||: + - mirror-to-github: | + cd ~/vivaldi-nc + ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + git remote add github git@github.com:swaits/vivaldi-nc.git + git push --mirror github