fix(deploy): suppress prepare script noise with --ignore-scripts
svelte-kit sync runs as a prepare hook but svelte-kit is a devDep, not installed during prod install — add --ignore-scripts to silence it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
91bc9e86d7
commit
5e2536138b
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ deploy_frontend() {
|
|||
rsync -az frontend/package.json frontend/pnpm-lock.yaml "$SERVER:$REMOTE/frontend/"
|
||||
|
||||
echo "==> [frontend] Installing production dependencies on server..."
|
||||
ssh "$SERVER" "cd $REMOTE/frontend && pnpm install --prod --frozen-lockfile"
|
||||
ssh "$SERVER" "cd $REMOTE/frontend && pnpm install --prod --frozen-lockfile --ignore-scripts"
|
||||
|
||||
echo "==> [frontend] Restarting service..."
|
||||
ssh "$SERVER" "sudo systemctl restart innercontext-node && echo OK"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue