Deploying a Portfoliable site
Portfoliable separates the runtime package from the docs and marketing site. This is intentional: you should not force your app release workflow and your web publishing workflow into one pipeline.
Two deployment tracks
1. Package deployment
This track publishes the npm package and the generated app runtime. It is for the creator package and feature updates.
2. Web deployment
This track publishes the docs and marketing website, usually to a static host such as GitHub Pages.
The web artifact
The web project builds a static VitePress export into:
web/.vitepress/distThat is the artifact deployed by the web release workflow.
Recommended production checklist
Before publishing the site, confirm:
- the VitePress build completes locally
- the home page and docs navigation still work as expected
- custom components render correctly in static output
- SEO and share metadata still look correct on the key routes
- home metadata values are still set correctly
- localized routes and
hreflangdata are still valid - visibility flags still prevent or allow indexing as intended
- protected and private cases remain appropriately hidden when configured
Local validation commands
cd web
npm run build
npm run previewThen test the navigation, case routes, and any updated localized pages in the browser.
Best practice
Keep package change management separate from website publishing. The docs site should move when content or marketing changes, while the package release cycle can stay independent.