You generate static files, html, css, js, etc and push them to whichever branch you've designated for the pages site.
Here's the source:
https://github.com/KjartanvanDriel/Kjartanvandriel.github.io...
The repo is actually a fork of a template repo for building a pages-based site:
Thanks, didn't realize the setup here was simpler than thought.