feat(delivery): publish multiple surfaces
Test / test (pull_request) Failing after 5s

Authored-By: OpenAI (GPT-5) <noreply@openai.com>
This commit is contained in:
Dave Kowalski
2026-08-29 21:21:47 +00:00
parent f1f780f5a3
commit 099a48f2b5
13 changed files with 826 additions and 309 deletions
+5 -3
View File
@@ -34,11 +34,11 @@ def build_static(site_dir, cfg):
elif cfg["type"] == "hugo":
print(f"Building Hugo site from {src}")
run(f"hugo --source {src} --destination {html_dir}")
run(["hugo", "--source", str(src), "--destination", str(html_dir)])
elif cfg["type"] == "mkdocs":
print(f"Building MkDocs site from {src}")
run(f"cd {src} && mkdocs build -d {html_dir}")
run(["mkdocs", "build", "-d", str(html_dir)], cwd=src)
if cfg.get("tidy", True):
print("Running tidy on HTML files...")
@@ -56,7 +56,9 @@ def build_static(site_dir, cfg):
def cmd_build():
site_dir = Path(env("SITE_DIR"))
cfg = parse_site_yaml(site_dir)
site_repo = env("SITE_REPO", "")
site_name = site_repo.split("/", 1)[1] if "/" in site_repo else None
cfg = parse_site_yaml(site_dir, site_name)
if not cfg["enabled"]:
print("Site disabled — skipping build")