From d4d8c592f90cd96b3a0abe5c9f281cbd0b4f8e4a Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sun, 9 Feb 2025 16:38:26 +0100 Subject: [PATCH] chore: add auto git push mirror to github --- .build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.build.yml b/.build.yml index 50c6a67..94e7e2f 100644 --- a/.build.yml +++ b/.build.yml @@ -5,9 +5,16 @@ packages: - pnpm secrets: - 291f0e35-9b8d-43ff-844c-77c5f29c1876 + - bbfcb6dc-7c4a-42ee-a11a-022f0339a133 environment: + REPO: guides + GH_USER: ayoayco NETLIFY_SITE_ID: d48d0f43-25b7-4d03-bbd2-b19ed09ea063 tasks: + - push-mirror: | + cd ~/"${REPO}" + git config --global credential.helper store + git push --mirror "https://github.com/${GH_USER}/${REPO}" - install-deps: | cd guides pnpm i