chore: use REPO env var
This commit is contained in:
parent
9055c2bae3
commit
4934c8a9a9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue