chore: use npm for build & deploy
This commit is contained in:
parent
94cb4f24c7
commit
75316893db
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
image: alpine/edge
|
image: alpine/edge
|
||||||
packages:
|
packages:
|
||||||
- nodejs
|
- nodejs
|
||||||
|
- npm
|
||||||
- pnpm
|
- pnpm
|
||||||
secrets:
|
secrets:
|
||||||
- 291f0e35-9b8d-43ff-844c-77c5f29c1876
|
- 291f0e35-9b8d-43ff-844c-77c5f29c1876
|
||||||
|
@ -12,7 +13,7 @@ tasks:
|
||||||
pnpm i
|
pnpm i
|
||||||
- build: |
|
- build: |
|
||||||
cd mcfly/site
|
cd mcfly/site
|
||||||
pnpm run build
|
npm run build
|
||||||
- deploy: |
|
- deploy: |
|
||||||
cd mcfly/site
|
cd mcfly/site
|
||||||
{
|
{
|
||||||
|
@ -21,4 +22,4 @@ tasks:
|
||||||
set -x
|
set -x
|
||||||
}
|
}
|
||||||
export NETLIFY_AUTH_TOKEN
|
export NETLIFY_AUTH_TOKEN
|
||||||
pnpm run deploy
|
npm run deploy
|
Loading…
Reference in a new issue