Merge pull request #84 from tteck/main

[pull] main from tteck:main
This commit is contained in:
pull[bot]
2024-10-23 06:59:48 +00:00
committed by GitHub
8 changed files with 187 additions and 9 deletions
+2
View File
@@ -67,6 +67,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}"