Fixed install and update functions (#6806)

This commit is contained in:
Slaviša Arežina
2025-08-13 20:59:56 +02:00
committed by GitHub
parent 047c7fe53c
commit 5b81fc1aaa
2 changed files with 5 additions and 4 deletions

View File

@@ -42,11 +42,12 @@ function update_script() {
msg_info "Updating ${APP} to ${RELEASE}"
cd /opt/outline
mv /opt/.env /opt/outline
export NODE_ENV=development
export NODE_OPTIONS="--max-old-space-size=3584"
$STD yarn install --frozen-lockfile
export NODE_ENV=production
$STD yarn build
mv /opt/.env /opt/outline
msg_ok "Updated ${APP}"
msg_info "Starting Services"