mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 23:25:52 +00:00
rwMarkable: use yarn command for disabling telemetry; remove NODE_ENV during build
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user