[object Object]

← back to Marketing Command Center

deploy: exclude live-authoritative runtime data (outbox/tokens/pages/assets) from rsync — deploys were clobbering the live Meta token, staged posts, and UI-added assets

8738173620ddf5d7e3b400a074120cfe3cf4b536 · 2026-07-17 08:56:29 -0700 · Steve Abrams

Files touched

Diff

commit 8738173620ddf5d7e3b400a074120cfe3cf4b536
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Fri Jul 17 08:56:29 2026 -0700

    deploy: exclude live-authoritative runtime data (outbox/tokens/pages/assets) from rsync — deploys were clobbering the live Meta token, staged posts, and UI-added assets
---
 .deploy.conf | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.deploy.conf b/.deploy.conf
index a4a572b..e5ea635 100644
--- a/.deploy.conf
+++ b/.deploy.conf
@@ -10,5 +10,9 @@ HEALTH_URL=http://127.0.0.1:9662/api/health
 # Protect gitignored runtime data from rsync --delete / overwrite on deploy.
 # follow-counts history accumulates one real row/day on the remote once IG creds
 # land; the local copy is only the dev/seed snapshot — never let it clobber the
-# remote's real history.
-RSYNC_EXTRA_EXCLUDES="follow-counts-history.json follow-counts-accounts.json follow-counts-snapshot.out follow-counts-snapshot.err"
+# remote's real history. The channels-*/assets/meta-pages files are LIVE-authoritative
+# too: they hold the real OAuth tokens, the discovered Pages cache, UI-added assets,
+# and the publish outbox — a deploy must NOT overwrite them with the stale local seed
+# (doing so wiped a live long-lived Meta token, re-seeded a junk asset, and erased a
+# staged post — 2026-07-17).
+RSYNC_EXTRA_EXCLUDES="follow-counts-history.json follow-counts-accounts.json follow-counts-snapshot.out follow-counts-snapshot.err clients-notes.json channels-outbox.json channels-tokens.json meta-pages.json assets.json assets-catalog.cache.json"

← 2888aa4 board UX: add 'Clear staged' — dismisses stale staged/pendin  ·  back to Marketing Command Center  ·  MCC Clients: server-side notes store so notes sync across de b69f993 →