This the my personal site hosted on GitHub. There is no good reason to have a web server for this site, so this static hosting is perfect.
The way GH hosting works,
it serves the site from the gh-pages
branch.
So I keep all of the source on the main
branch.
- Make a new file in content.
- Create a webserver.
- Build the content and preview it.
- Edit, rebuild.
Repeat step 4, as necessary.
Finally, commit & push to Github main
branch.
The github action will deploy the site.