chore: add auto mirror to github build script

This commit is contained in:
Ayo Ayco 2025-02-09 14:52:51 +01:00
parent bb509c6df8
commit e33b1cd3ae

11
.build.yml Normal file
View file

@ -0,0 +1,11 @@
image: alpine/edge
secrets:
- bbfcb6dc-7c4a-42ee-a11a-022f0339a133
environment:
REPO: astro-github-stats
GH_USER: ayoayco
tasks:
- push-mirror: |
cd ~/"${REPO}"
git config --global credential.helper store
git push --mirror "https://github.com/${GH_USER}/${REPO}"