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" fetch_and_deploy_gh_release "rwMarkable" "fccview/rwMarkable" "tarball" "latest" "/opt/rwmarkable"
msg_info "Updating app" msg_info "Updating app"
export NEXT_TELEMETRY_DISABLE=1
export NODE_ENV=production
cd /opt/rwmarkable cd /opt/rwmarkable
$STD yarn --frozen-lockfile $STD yarn --frozen-lockfile
$STD yarn next telemetry disable
$STD yarn build $STD yarn build
msg_ok "Updated app" msg_ok "Updated app"

View File

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