If you use a service like netlify, you can host a static site for free on a CDN. It's actually really convenient because it can build the site automatically whenever you push to a Github repo, and it can automatically setup HTTPS for you with a Let's Encrypt cert. It's a lot easier (and cheaper [free]) than setting up S3 and CloudFront yourself.
Github pages can do the same thing - it just has fewer features.
Github pages can do the same thing - it just has fewer features.