chore: run deploy from root
This commit is contained in:
parent
d2d4e93cc9
commit
608f4f80e8
3 changed files with 3 additions and 6 deletions
|
@ -17,11 +17,10 @@ tasks:
|
|||
ls
|
||||
- deploy: |
|
||||
cd mcfly
|
||||
ls /home/build/mcfly/site/dist
|
||||
{
|
||||
set +x
|
||||
. ~/.buildsecrets
|
||||
set -x
|
||||
}
|
||||
export NETLIFY_AUTH_TOKEN
|
||||
npx netlify deploy --site=$NETLIFY_SITE_ID
|
||||
pnpm run deploy
|
|
@ -15,7 +15,8 @@
|
|||
"lint": "eslint . --config eslint.config.mjs --cache",
|
||||
"check": "npm run format && npm run lint",
|
||||
"format": "prettier . --write",
|
||||
"prepare": "husky"
|
||||
"prepare": "husky",
|
||||
"deploy": "netlify deploy --site=$NETLIFY_SITE_ID"
|
||||
},
|
||||
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c",
|
||||
"devDependencies": {
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[build]
|
||||
publish = "dist"
|
||||
command = "pnpm run build"
|
Loading…
Reference in a new issue