added ci script for github mirroring
This commit is contained in:
parent
7eab88de41
commit
8f0001d293
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: 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
|
Loading…
Add table
Add a link
Reference in a new issue