I am fan of using GitHub Pages and Netlify for building and hosting my Jekyll static sites remotely, for free.
There is no best choice for all situations. I use a mix of both and I hope you will too.
I am going to briefly cover how Netlify and GitHub Pages can be used, then in follow-up posts in this series I'll cover reason to use one of the other.
If you need a simple no-frills setup without leaving GitHub, especially if you have hobby project sites, then use GitHub Pages. You can always add GitHub Actions or move to Netlify, if you need more flexibility.
If you want more control (over packages, the build flow, logging and add-on plugins) and especially if it the site is for a client or company, then use Netlify.
Here are the two services under review:
They both have generous build limits on the free tier and will build from a GitHub repo.
Your custom URL will look like this on each service:
You can rename your Netlify app to anything that another user has not already taken.
While the GitHub Pages site's path will be named after your repo. But, you are allowed to have on repo like this: michaelcurrin.github.io.
Both Netlify and GH Pages allow you to hook up a custom domain that you already own as your domain at no further cost. Such as
Continue to the posts in this series to see motivations for GitHub Pages and then Netlify.