GitHub Pages Deployment Cheat Sheet
Steps
- Push your site to a GitHub repo.
- Go to Settings → Pages → Deploy from GitHub Actions.
- Use an Astro GitHub Action (
with: path: ./dist). - Ensure correct
siteinastro.config.mjs. - Test on
https://username.github.io/repo/.
Notes
- No SSR, only static files.
- Use
HashRouterin React/Vue if needed.