From 2b3e6cd63edc2ba78394fbc9caf55a1e9fcfb0fc Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sat, 8 Feb 2025 19:40:17 +0100 Subject: [PATCH] chore: add automated push mirror --- .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..296eb19 --- /dev/null +++ b/.build.yml @@ -0,0 +1,11 @@ +image: alpine/edge +secrets: + - 291f0e35-9b8d-43ff-844c-77c5f29c1876 +environment: + REPO: cozy + GH_USER: ayoayco +tasks: + - push-mirror: | + cd ~/"${REPO}" + git config --global credential.helper store + git push --mirror "https://github.com/${GH_USER}/${REPO}"