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
|
||||
tasks:
|
||||
- push-mirror: |
|
||||
cd mcfly
|
||||
cd ~/"${REPO}"
|
||||
git config --global credential.helper store
|
||||
git push --mirror "https://github.com/${GH_USER}/${REPO}"
|
||||
- install-deps: |
|
||||
cd mcfly
|
||||
cd ~/"${REPO}"
|
||||
pnpm i
|
||||
- build: |
|
||||
cd mcfly
|
||||
cd ~/"${REPO}"
|
||||
pnpm -F site run build
|
||||
- deploy: |
|
||||
cd mcfly
|
||||
|
|
Loading…
Reference in a new issue