chore: add github mirror push

This commit is contained in:
Ayo Ayco 2025-02-08 19:21:27 +01:00
parent 4514394b38
commit 9055c2bae3

View file

@ -7,7 +7,13 @@ secrets:
- 291f0e35-9b8d-43ff-844c-77c5f29c1876 - 291f0e35-9b8d-43ff-844c-77c5f29c1876
environment: environment:
NETLIFY_SITE_ID: 390b392a-a898-491b-8500-79aa30f724d6 NETLIFY_SITE_ID: 390b392a-a898-491b-8500-79aa30f724d6
GH_USER: ayoayco
REPO: mcfly
tasks: tasks:
- push-mirror: |
cd mcfly
git config --global credential.helper store
git push --mirror "https://github.com/${GH_USER}/${REPO}"
- install-deps: | - install-deps: |
cd mcfly cd mcfly
pnpm i pnpm i
@ -22,4 +28,4 @@ tasks:
set -x set -x
} }
export NETLIFY_AUTH_TOKEN export NETLIFY_AUTH_TOKEN
pnpm -F site run deploy pnpm -F site run deploy