chore: add auto mirror to github build script

This commit is contained in:
Ayo Ayco 2025-02-09 14:59:12 +01:00
parent 4c4730e812
commit 62862b560f

11
.build.yml Normal file
View file

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