fix yubal env

This commit is contained in:
Tobias
2026-01-07 15:44:06 +01:00
parent 5120597cb6
commit a0f54d8bf6
2 changed files with 10 additions and 2 deletions

View File

@@ -34,8 +34,16 @@ function update_script() {
systemctl stop yubal
msg_ok "Stopped Services"
msg_info "Backing up"
cp /opt/yubal/.env /opt/yubal.env
msg_ok "Backed up"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "yubal" "guillevc/yubal" "tarball" "latest" "/opt/yubal"
msg_info "Restoring Backup"
mv /opt/yubal.env /opt/yubal/.env
msg_ok "Restored Backup"
msg_info "Building Frontend"
cd /opt/yubal/web
$STD bun install --frozen-lockfile