added ci script for github mirroring

This commit is contained in:
Daniel Fichtinger 2025-04-08 19:10:36 -04:00
parent 7eab88de41
commit 8f0001d293

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