← back to Fabricut Landing
.deploy.conf
18 lines
# fabricut-landing deploy config (GATED — do not run without Steve's approval)
PROJECT_NAME="fabricut-landing"
DEPLOY_PATH="/var/www/fabricut.designerwallcoverings.com"
DOMAIN="fabricut.designerwallcoverings.com"
HEALTH_URL="http://localhost:35959/healthz"
# Build the PUBLIC data on canonical Mac2 (has fabricut_catalog.book_name) BEFORE rsync,
# then ship the finished data/products.json. Do NOT rebuild on Kamatera — its mirror is
# schema-drifted (no book_name), which would blank every book label. (TK: fabricut-dedupe)
PREDEPLOY_HOOK="MODE=public node scripts/build-fabricut.js"
BUILD_CMD=""
# Runtime state written by the LIVE server (customer inquiries). deploy.sh runs
# `rsync -az --delete`, so without this exclude a deploy overwrites the prod file
# with the local copy and destroys every inquiry submitted since the last deploy.
# Surgical on purpose: data/products.json + selection.json ARE build artifacts and
# MUST keep syncing, so never blanket-exclude data/.
RSYNC_EXTRA_EXCLUDES="/data/inquiries.jsonl"