added mirror CI script

This commit is contained in:
Daniel Fichtinger 2025-04-09 17:50:04 -04:00
parent b6df00a4ac
commit b2680119ac

15
.build.yml Normal file
View file

@ -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