making a small html page that publishes using github pages
Check out my page here: https://shmam.github.io/github-pages-html/
Github Pages will give you a free URL using the following pattern https://<your username>.github.io/<repo name>/.
You can also buy your own domain and use it. More info here: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages
GitHub pages publishes using GitHub actions. Most of the time all you have to do is push your code up to the main branch. To see when your page has been published, click on the actions tab. Here's mine: https://github.com/shmam/github-pages-html/actions
https://docs.github.com/en/pages/quickstart
Because I enabled GitHub pages to deploy from the main branch at the root, it picks up the index.html page in the root of my repo and publishes that as my page. It also picks up any stylesheets (main.css) and assets (/assets)