added mirror CI script
This commit is contained in:
parent
b6df00a4ac
commit
b2680119ac
1 changed files with 15 additions and 0 deletions
15
.build.yml
Normal file
15
.build.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue