From b198c09126e9cbe1c093591f143b3d0c751ec912 Mon Sep 17 00:00:00 2001 From: prompt.ac/@jeffrey Date: Wed, 15 Jul 2026 22:26:12 +0000 Subject: [PATCH] podcast: find credentials in local vault --- marketing/podcast/bin/buzzsprout.mjs | 6 +++++- 1 file(s) changed, 5 insertion(s)(+), 1 deletion(s)(-) diff --git a/marketing/podcast/bin/buzzsprout.mjs b/marketing/podcast/bin/buzzsprout.mjs --- a/marketing/podcast/bin/buzzsprout.mjs +++ b/marketing/podcast/bin/buzzsprout.mjs @@ -26,7 +26,11 @@ const HERE = dirname(fileURLToPath(import.meta.url)); const ROOT = resolve(HERE, ".."); const OUT = resolve(ROOT, "out"); -const VAULT_ENV = resolve(ROOT, "..", "..", "..", "aesthetic-computer-vault", "buzzsprout", ".env"); +const VAULT_ENVS = [ + resolve(ROOT, "..", "..", "aesthetic-computer-vault", "buzzsprout", ".env"), + resolve(ROOT, "..", "..", "..", "aesthetic-computer-vault", "buzzsprout", ".env"), +]; +const VAULT_ENV = VAULT_ENVS.find(existsSync) || VAULT_ENVS[0]; // ── credentials (env → vault .env) ───────────────────────────────────── function loadCreds() { -- tangled.sh