GitHub Pages is a free static hosting service for open source projects and documentation. It serves your static site directly from a GitHub repository branch.
npm run builddist/ to a gh-pages branch (or docs/ folder for user/organization sites).gh-pages branch (or docs/ folder).https://<username>.github.io/<repo>/404.html is present at the root of dist/ for error handling.gh-pages npm package for easy deployment.| Setting | Value |
|---|---|
| Branch/folder | gh-pages or docs/ |
| Default domain | *.github.io |
| Free HTTPS | ✅ Yes |
| Auto redeploys | Manual or via GitHub Actions |