[object Object]

← back to Rentv

chore(deploy): protect prod-owned data/social-drafts.json from rsync --delete clobber

0dd48061c9364e7e167914d68acf0b162fb60fa5 · 2026-08-01 20:05:48 -0700 · Steve

Files touched

Diff

commit 0dd48061c9364e7e167914d68acf0b162fb60fa5
Author: Steve <steve@designerwallcoverings.com>
Date:   Sat Aug 1 20:05:48 2026 -0700

    chore(deploy): protect prod-owned data/social-drafts.json from rsync --delete clobber
---
 .deploy.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.deploy.conf b/.deploy.conf
index 18921863..6f2eaa4f 100644
--- a/.deploy.conf
+++ b/.deploy.conf
@@ -6,7 +6,8 @@ INSTALL_CMD="npm ci --production"
 BUILD_CMD=""
 # Never overwrite prod's accumulated real newsletter signups / live pipeline data with the local file.
 # vimeo-library.json is refreshed in place by the prod cron (pull-vimeo-library.py) — don't clobber it on deploy.
-RSYNC_EXTRA_EXCLUDES="data/subscribers.jsonl data/posts.json data/forsale.json data/vimeo-library.json"
+# social-drafts.json is admin-composed on prod (POST /api/social/draft) — prod copy is authoritative, never clobber.
+RSYNC_EXTRA_EXCLUDES="data/subscribers.jsonl data/posts.json data/forsale.json data/vimeo-library.json data/social-drafts.json"
 # NOTE (2026-07-28): renamed from rentv-v1 -> rentv (unified RENTV app). The prod
 # dir /root/public-projects/rentv-v1 must be renamed to /root/public-projects/rentv
 # and pm2 re-registered as `rentv` as part of the Steve-gated cutover — see

← c93c877e auto-save: 2026-08-01T19:38:57 (1 files) — docs/heygen-brand  ·  back to Rentv  ·  auto-save: 2026-08-01T20:39:19 (3 files) — data/markets.json b65dd53a →