ADD UPDATE SCRIPT v0.23

This commit is contained in:
Esteban
2026-07-06 12:17:38 +02:00
parent 1d134c38cd
commit ea284a426f
18 changed files with 446 additions and 16 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
# Forces an immediate redeploy of BloomFeed, regardless of whether a new
# commit is actually available. Thin wrapper around auto-update.sh --force
# so the intent is explicit and easy to remember/document.
APP_DIR="/opt/bloomfeed"
if [[ ! -f "${APP_DIR}/auto-update.sh" ]]; then
echo "ERROR: ${APP_DIR}/auto-update.sh not found — run scriptsite.sh first." >&2
exit 1
fi
echo "==> Forcing an immediate BloomFeed update/redeploy..."
exec bash "${APP_DIR}/auto-update.sh" --force