GitHub Pages
Free hosting for static sites from a GitHub repository.
Suits
- Static Site
- Personal page
- Documentation
Steps
Upload the files to a repository.
In Settings, then Pages, choose the branch and folder, or deploy with an Actions workflow.
Wait for the build and open the link.
git push origin main
Notes
- It does not support server-side code.
- Single-page apps need a workaround for the 404 problem.
