Static catalog (index + copied docs/modules/models/sphinx/setup HTML+PDF). Deploy via rsync to NS1 /SSD2/sites/zapier.georgelambert.org with Caddy vhost and Let's Encrypt. Architecture note for job wait, multipart split, hash receipts, and bloom-filtered WORM archive fan-out over NATS.
12 lines
447 B
Bash
Executable file
12 lines
447 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Build and rsync docs site to zapier.georgelambert.org on NS1.
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
HOST="${DEPLOY_HOST:-marchon@70.88.205.138}"
|
|
DEST="${DEPLOY_DEST:-/SSD2/sites/zapier.georgelambert.org}"
|
|
|
|
python3 "$ROOT/scripts/build-docs-site.py"
|
|
ssh "$HOST" "mkdir -p '$DEST'"
|
|
rsync -avz --delete "$ROOT/site/" "$HOST:$DEST/"
|
|
echo "rsync done → $HOST:$DEST"
|
|
echo "https://zapier.georgelambert.org/"
|