← back to Wallpaperwednesday
.deploy.conf
13 lines
PROJECT_NAME=wallpaperwednesday
DEPLOY_HOST=45.61.58.125
DEPLOY_PATH=/root/Projects/wallpaperwednesday
HEALTH_URL=http://127.0.0.1:9900/
INSTALL_CMD="npm ci --production"
# data/subscribers.jsonl is the LIVE newsletter list, appended by the running
# server when a visitor subscribes. deploy.sh runs `rsync -az --delete`; the file
# does not exist locally, so without this exclude a deploy DELETES the prod
# subscriber list outright. Surgical: data/products.json is a build artifact and
# must keep syncing.
RSYNC_EXTRA_EXCLUDES="/data/subscribers.jsonl"