added build manifest for github mirroring
This commit is contained in:
parent
c797c0e85d
commit
d31fc4b1c4
1 changed files with 16 additions and 0 deletions
16
.build.yml
Normal file
16
.build.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue