mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-26 19:47:30 +00:00
Get ready for rollout of next.js version
This commit is contained in:
parent
186129ecb9
commit
33ca103c10
8 changed files with 60 additions and 17 deletions
16
packages/skin-database/scripts/reload.sh
Executable file
16
packages/skin-database/scripts/reload.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
# Switch to Node 20
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
source "$NVM_DIR/nvm.sh"
|
||||
nvm use 20
|
||||
|
||||
# Install dependencies
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
# Build the site
|
||||
yarn run build
|
||||
|
||||
# Reload processes via PM2
|
||||
pm2 reload ecosystem.config.js
|
||||
Loading…
Add table
Add a link
Reference in a new issue