From 8f0001d2936e83852522cbef13b6d67991251086 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Tue, 8 Apr 2025 19:10:36 -0400 Subject: [PATCH] added ci script for github mirroring --- .build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..e262506 --- /dev/null +++ b/.build.yml @@ -0,0 +1,15 @@ +image: alpine/latest +packages: + - git + - openssh +secrets: + - 0639564d-6995-4e2e-844b-2f8feb0b7fb1 +environment: + repo: autoyadm + github: git@github.com:ficcdaf/autoyadm.git +tasks: + - mirror: | + ssh-keyscan github.com >> ~/.ssh/known_hosts + cd "$repo" + git remote add github "$github" + git push --mirror github