diff --git a/ct/outline.sh b/ct/outline.sh index 896af3c81..9e1a45b6b 100644 --- a/ct/outline.sh +++ b/ct/outline.sh @@ -41,16 +41,17 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "outline" "outline/outline" "tarball" - msg_info "Updating ${APP}" + msg_info "Updating Outline" cd /opt/outline mv /opt/.env /opt/outline export NODE_ENV=development export NODE_OPTIONS="--max-old-space-size=3584" + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 $STD corepack enable $STD yarn install --immutable export NODE_ENV=production $STD yarn build - msg_ok "Updated ${APP}" + msg_ok "Updated Outline" msg_info "Starting Services" systemctl start outline diff --git a/install/outline-install.sh b/install/outline-install.sh index b38868db7..0c30cac1d 100644 --- a/install/outline-install.sh +++ b/install/outline-install.sh @@ -38,6 +38,7 @@ sed -i 's/redis:6379/localhost:6379/g' /opt/outline/.env sed -i "5s#URL=#URL=http://${LOCAL_IP}#g" /opt/outline/.env sed -i 's/FORCE_HTTPS=true/FORCE_HTTPS=false/g' /opt/outline/.env export NODE_OPTIONS="--max-old-space-size=3584" +export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 $STD corepack enable $STD yarn install --immutable export NODE_ENV=production