Fix update path for PeaNUT following v3 fix (#3954)
This commit is contained in:
committed by
GitHub
parent
b4732cd8e9
commit
612979a040
@ -68,6 +68,8 @@ function update_script() {
|
||||
pnpm i &>/dev/null
|
||||
pnpm run build &>/dev/null
|
||||
cp -r .next/static .next/standalone/.next/
|
||||
mkdir -p /opt/peanut/.next/standalone/config
|
||||
ln -sf /etc/peanut/settings.yml /opt/peanut/.next/standalone/config/settings.yml
|
||||
systemctl start peanut
|
||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||
msg_ok "Updated $APP to ${RELEASE}"
|
||||
|
Reference in New Issue
Block a user