added ci for github mirroring

This commit is contained in:
Daniel Fichtinger 2025-04-08 16:44:37 -04:00
parent bdd9e63fdf
commit af2f071a5a

17
.build.yml Normal file
View file

@ -0,0 +1,17 @@
image: alpine/latest
packages:
- git
- openssh
secrets:
- 0639564d-6995-4e2e-844b-2f8feb0b7fb1
environment:
repo: zona
github: git@github.com:ficcdaf/zona.git
tasks:
- mirror: |
ssh-keyscan github.com >> ~/.ssh/known_hosts
cd "$repo"
git remote add github "$github"
git push --mirror github