That's not truly end-to-end encrypted though, right? The server -> CloudFlare goes over HTTP.
When using GitHub Pages, the server -> CloudFlare goes over unauthenticated HTTPS (using the HTTPS "not strict" option), which means it is resistant to passive attackers but vulnerable to active MITM attackers.