Static corporate site built with Tome (tome-static-site + Astro). Output: dist/.
- Pages:
content/data/{shard}/{id}.mdwithurl_aliasfrontmatter (legacy URL paths preserved). - Model:
content/model/workspace.json—staticSite.homeNodeIdpoints at the site home node. - Cache:
data/tome.sqlite(gitignored).
Clone as a sibling of silentorb-workbench:
parent/
silentorb-workbench/
silentorb-web/
From the workbench root:
bash scripts/build-silentorb-web.sh # → repos/silentorb-web/dist/
bash scripts/serve-silentorb-web.sh # http://127.0.0.1:8080/VS Code tasks: Silentorb Web: build / Silentorb Web: serve.
From this repo:
bash scripts/build-static-site.sh
bash scripts/serve-static-site.shA full copy of the pre-migration Handlebars generator lives in _legacy-src/ (gitignored). Recreate from git history if missing. Run bun scripts/migrate-legacy-content.ts to regenerate Tome content from that archive.
GitHub Actions (.github/workflows/deploy-static-site.yml) builds the site in the repo Docker image, syncs dist/ to S3, and invalidates CloudFront on pushes to main (and manual dispatch).
Simulate the CI build locally (requires Docker and a tome checkout):
TOME_ROOT=../tome bun run web:build:ciSee docs/features/static-website-deploy.md for AWS OIDC setup and troubleshooting.