commit f8197469ac9056455e1ccf25124ed79854df4977
parent ec89779bde776ebedcddb03fc607c7b43b18ddd1
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 28 Sep 2026 02:10:41 -0400
common: deployHomepage ships homepageOutDir(paths) — the directory the editor judged "built", named once (no behaviour change)
O4 review low 2.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/publish/build.ts b/common/publish/build.ts
@@ -1016,7 +1016,8 @@ export async function deployHomepage(
if (problem) throw new Error(problem);
}
const branch = opts.previewBranch?.trim() || undefined;
- const outDir = path.join(homepageDir(paths), "out");
+ // The directory the editor's actions judged "built" (builtHomepageProblem).
+ const outDir = homepageOutDir(paths);
if (!existsSync(path.join(outDir, "index.html"))) {
throw new Error("homepage/out holds no build — run archilyzer build homepage first");
}