I have a fair number of sites on Github pages but I've ended up migrating most of them to Netlify (which is a very easy process) when I've needed more features, like wildcard ssl or multiple domains. Still haven't paid a cent!
this circumvents Netlify's bandwidth metering and all the users retrieving the IPFS assets keeps the IPFS assets loading quickly
note, I append ?filename=filename.extension to the url to keep track of which hash is what
ironically Pinata is also a gateway that will show any hash for free
then I just deploy the whole project/frontend/backend to github and that auto deploys to netlify and the domain name routes to that instance