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

@@ -46,10 +46,9 @@ function update_script() {
fetch_and_deploy_gh_release "rwMarkable" "fccview/rwMarkable" "tarball" "latest" "/opt/rwmarkable"
msg_info "Updating app"
export NEXT_TELEMETRY_DISABLE=1
export NODE_ENV=production
cd /opt/rwmarkable
$STD yarn --frozen-lockfile
$STD yarn next telemetry disable
$STD yarn build
msg_ok "Updated app"