From aec35b4ad007c257ca328b28da743f6dc53877f7 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sun, 9 Feb 2025 14:44:14 +0100 Subject: [PATCH] chore: add auto mirror to github build script --- .build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..075689d --- /dev/null +++ b/.build.yml @@ -0,0 +1,11 @@ +image: alpine/edge +secrets: + - bbfcb6dc-7c4a-42ee-a11a-022f0339a133 +environment: + REPO: ayco.io-astro + GH_USER: ayoayco +tasks: + - push-mirror: | + cd ~/"${REPO}" + git config --global credential.helper store + git push --mirror "https://github.com/${GH_USER}/${REPO}"