Manage My Damn Life: use NodeJS 22 (#7861)

This commit is contained in:
Chris
2025-09-23 15:21:05 -04:00
committed by GitHub
parent 584365fff1
commit d24308a409
2 changed files with 5 additions and 2 deletions

View File

@@ -35,12 +35,15 @@ function update_script() {
msg_info "Creating Backup"
cp /opt/mmdl/.env /opt/mmdl.env
rm -rf /opt/mmdl
msg_ok "Backup Created"
fetch_and_deploy_gh_release "mmdl" "intri-in/manage-my-damn-life-nextjs" "tarball"
NODE_VERSION="22" setup_nodejs
msg_info "Configuring ${APP}"
cd /opt/mmdl
export NEXT_TELEMETRY_DISABLED=1
$STD npm install
$STD npm run migrate
$STD npm run build