chore: use REPO env var

This commit is contained in:
Ayo Ayco 2025-02-08 19:27:53 +01:00
parent 9055c2bae3
commit 4934c8a9a9

View file

@ -11,14 +11,14 @@ environment:
REPO: mcfly REPO: mcfly
tasks: tasks:
- push-mirror: | - push-mirror: |
cd mcfly cd ~/"${REPO}"
git config --global credential.helper store git config --global credential.helper store
git push --mirror "https://github.com/${GH_USER}/${REPO}" git push --mirror "https://github.com/${GH_USER}/${REPO}"
- install-deps: | - install-deps: |
cd mcfly cd ~/"${REPO}"
pnpm i pnpm i
- build: | - build: |
cd mcfly cd ~/"${REPO}"
pnpm -F site run build pnpm -F site run build
- deploy: | - deploy: |
cd mcfly cd mcfly