Compare commits

..
Author SHA1 Message Date
MickLesk 756d5e2e29 sure: keep Active Storage uploads across updates 2026-10-01 23:22:37 +02:00
2 changed files with 2 additions and 4 deletions
+2
View File
@@ -65,7 +65,9 @@ EOF
msg_ok "Stopped services"
fi
create_backup /opt/sure/storage
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Sure" "we-promise/sure" "tarball" "latest" "/opt/sure"
restore_backup
RUBY_VERSION="$(cat /opt/sure/.ruby-version)" RUBY_INSTALL_RAILS=false HOME=/root setup_ruby
msg_info "Updating Sure"
-4
View File
@@ -44,10 +44,6 @@ function update_script() {
restore_backup
msg_info "Updating Bun"
$STD bun upgrade
msg_ok "Updated Bun"
msg_info "Building Zerobyte"
export NODE_OPTIONS="--max-old-space-size=3072"
cd /opt/zerobyte