Remove existing web directory before deployment

Remove the web directory before deploying the kitchenowl-web release.
This commit is contained in:
CanbiZ (MickLesk)
2026-02-02 08:30:53 +01:00
committed by GitHub
parent 5187c97d83
commit 8f26196168

View File

@@ -41,6 +41,7 @@ function update_script() {
msg_ok "Backed up KitchenOwl"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kitchenowl" "TomBursch/kitchenowl" "tarball" "latest" "/opt/kitchenowl"
rm -rf /opt/kitchenowl/web
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kitchenowl-web" "TomBursch/kitchenowl" "prebuild" "latest" "/opt/kitchenowl/web" "kitchenowl_Web.tar.gz"
msg_info "Restoring KitchenOwl data"