Find the right deployment path

Start with the framework and the build output. DeployPages serves static frontend artifacts, so the right path depends on whether you have dist, build, out, or plain HTML.

Quick decision guide

Start with the output folder

Vite apps

Run the production build and upload dist. Check the base setting if the site will live under a subpath.

React or Vue SPAs

Upload the build output and use fallback routing when browser history routes should resolve to index.html.

Next.js static export

Use output: 'export' and upload out. Server features such as API routes, middleware, and SSR need a runtime instead.