This repository includes a GitHub Actions workflow at .github/workflows/deploy-pages.yml that deploys the Vite build to GitHub Pages.
- Trigger: push to
main(or manual run from Actions tab) - Build command:
npm run build -- --base "/<repo-name>/" - Artifact:
dist/(with404.htmlcopied fromindex.htmlfor SPA routing fallback)
- Open your repository on GitHub.
- Go to
Settings→Pages. - Set Source to GitHub Actions.
After that, every push to main publishes an updated site.