n naroDocs

Gatsby

Gatsby sites build with gatsby build and deploy from public/.

Detected by
gatsby
Build command
npm run build
Output directory
public
Runtime
Static assets
SPA fallback
No
Build cache
.cache

Static pages only

SSR and DSG pages and Gatsby Functions need Gatsby's own server and are unavailable. Plain static pages deploy as usual.

Deploy it

Run this inside the project. The first deploy creates and links it.

npx naro-cli deploy
npx naro-cli deploy --prod

Overrides

Project settings → Build configuration changes the build script and output directory for a project that does not follow its framework's defaults.