This commit is contained in:
CanbiZ 2024-12-30 23:02:57 +01:00 committed by GitHub
parent e319355859
commit 4a8239b2ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,7 +52,9 @@ function update_script() {
cd /opt/homepage
npx update-browserslist-db@latest
pnpm install
NEXT_PUBLIC_VERSION=v$RELEASE NEXT_PUBLIC_REVISION='source' pnpm build
export NEXT_PUBLIC_VERSION=v$RELEASE
export NEXT_PUBLIC_REVISION='source'
pnpm build
systemctl start homepage
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated Homepage to v${RELEASE}"