configure base path /tpf/ for subdirectory deployment, increase workbox cache limit

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 11:49:01 +01:00
parent c31948b997
commit 8490154dde
4 changed files with 10 additions and 8 deletions

View File

@@ -3,9 +3,9 @@ set -euo pipefail
# Description: Build and deploy TherapyFinder to Uberspace static hosting
# Usage: ./scripts/deploy.sh <ssh-host>
# Example: ./scripts/deploy.sh felixfoertsch@andromeda.uberspace.de
# Example: ./scripts/deploy.sh serve
HOST="${1:?Usage: ./scripts/deploy.sh <ssh-host>}"
HOST="${1:-serve}"
USER="$(ssh "$HOST" whoami)"
REMOTE_DIR="/var/www/virtual/${USER}/html/tpf"