← back to Textiletuesday

.deploy.conf

13 lines

PROJECT_NAME=textiletuesday
DEPLOY_HOST=45.61.58.125
DEPLOY_PATH=/root/Projects/textiletuesday
HEALTH_URL=http://127.0.0.1:9899/health
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"