Documentation deployment
Documentation builds automatically from main and publishes .vitepress/dist.
Check direct access to a nested article as well as the home page.
Settings were read through the DigitalOcean API on September 28, 2026. This is the active documentation deployment, not a website generator deployment.
Settings
| Setting | Verified value |
|---|---|
| Application | bonsite-docs |
| Component type | Static site |
| Repository | Agentfy/bonsite |
| Branch | main, deploy on push enabled |
| Source directory | docs |
| Build command | bun run build |
| Output directory | .vitepress/dist |
Public address: Bonsite DOCS. Static-site management is described in the DigitalOcean documentation.
Before merging
From the repository root:
bun install --cwd docs --frozen-lockfile
bun run --cwd docs buildCheck links and anchors in the built HTML, open changed pages, search and the mobile menu. Docs has no lint script; a successful build must not be called a successful lint run.
Publication and verification
After acceptance, merge the PR into main. Find the deployment for that exact commit and wait for ACTIVE. Open the home page, changed section and a separate article directly, then refresh the browser. Verify the new text and assets, not just HTTP 200.
Known errors
Output directory not found. Auto-detection is not guaranteed to find the hidden .vitepress/dist folder. Compare the actual build folder with the component's explicit setting.
Works in navigation, returns 404 by link. This static host did not map /market/competition to competition.html. Therefore cleanUrls: false: individual articles use .html; sections with index.html use the folder address. Direct links in Vue components must also point to existing files. Old extensionless article addresses did not receive automatic redirects.
Deployment active, old version visible. First compare the source commit and asset link. Then check cache and a fresh browser session. Do not republish blindly.
Rollback
Restore the previous verified content commit through a separate revert and let normal auto-deployment finish. Check the home page and nested URL again. For an urgent dashboard rollback, first confirm provider capabilities and the selected version; that procedure has not been separately tested here.