#!/usr/bin/env bash # Deploy to the dev site at dev.performancewest.net. # Usage: bash scripts/deploy-dev.sh # # What it does: # 1. Syncs API source + scripts + site to the dev server # 2. Rebuilds dev API + site Docker containers # 3. No manual docker-cp or _astro merging needed — everything # is in site/public/ and gets built into the image. set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" # Single source of truth for the header: rewrite every static page's