rwMarkable: use yarn command for disabling telemetry; remove NODE_ENV during build
This commit is contained in:
parent
6b756c95f1
commit
12e86edb7a
@ -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"
|
||||||
|
|
||||||
|
@ -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?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user