From b2680119ac1465bf8f172fe3c2199d3f573671b9 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 9 Apr 2025 17:50:04 -0400 Subject: [PATCH] added mirror CI script --- .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..9d49af7 --- /dev/null +++ b/.build.yml @@ -0,0 +1,15 @@ +image: alpine/latest +packages: + - git + - openssh +secrets: + - 0639564d-6995-4e2e-844b-2f8feb0b7fb1 +environment: + repo: zmk-config + github: git@github.com:ficcdaf +tasks: + - mirror: | + ssh-keyscan github.com >> ~/.ssh/known_hosts + cd "zmk" + git remote add github "$github/$repo.git" + git push --mirror github