rwMarkable: use yarn command for disabling telemetry; remove NODE_ENV during build

This commit is contained in:
vhsdream
2025-09-30 14:13:56 -04:00
parent 6b756c95f1
commit 12e86edb7a
2 changed files with 2 additions and 4 deletions

View File

@@ -18,9 +18,8 @@ fetch_and_deploy_gh_release "rwMarkable" "fccview/rwMarkable" "tarball" "latest"
msg_info "Building app"
cd /opt/rwmarkable
export NEXT_TELEMETRY_DISABLE=1
export NODE_ENV=production
$STD yarn --frozen-lockfile
$STD yarn next telemetry disable
$STD yarn build
mkdir -p data/{users,checklists,notes}
# maybe move some stuff around so the app is in a sensible spot?