Compare commits

..

No commits in common. "13175efbd879effeff3eb97d0672f5c88156d89b" and "e3193558591ca3128bb0c4370f52649c4c188b8c" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

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

View File

@ -43,8 +43,7 @@ rm -rf homepage-${RELEASE}
cd /opt/homepage
cp /opt/homepage/src/skeleton/* /opt/homepage/config
$STD pnpm install
$STD export NEXT_PUBLIC_VERSION=v$RELEASE
$STD export NEXT_PUBLIC_REVISION='source' $STD pnpm build
$STD NEXT_PUBLIC_VERSION=v$RELEASE NEXT_PUBLIC_REVISION='source' pnpm build
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Homepage v${RELEASE}"