From 4a8239b2cef051845438909754985319973e82b1 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 30 Dec 2024 23:02:57 +0100 Subject: [PATCH] fix --- ct/homepage.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ct/homepage.sh b/ct/homepage.sh index 43fb247a..d2f913a2 100644 --- a/ct/homepage.sh +++ b/ct/homepage.sh @@ -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}"