chore: add auto mirror to github build script
This commit is contained in:
parent
81886bd763
commit
beddea0157
1 changed files with 11 additions and 0 deletions
11
.build.yml
Normal file
11
.build.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
image: alpine/edge
|
||||||
|
secrets:
|
||||||
|
- bbfcb6dc-7c4a-42ee-a11a-022f0339a133
|
||||||
|
environment:
|
||||||
|
REPO: astro-sw
|
||||||
|
GH_USER: ayoayco
|
||||||
|
tasks:
|
||||||
|
- push-mirror: |
|
||||||
|
cd ~/"${REPO}"
|
||||||
|
git config --global credential.helper store
|
||||||
|
git push --mirror "https://github.com/${GH_USER}/${REPO}"
|
Loading…
Reference in a new issue