Tried that, what I really like about Cloudflare is that it offers me more freedom than Github which basically forces you to use Jekyll if I'm not mistaken.
I’ve deployed a couple of static documentation sites with automated builds with the help of GitHub Actions [0].
[0]: https://github.com/marketplace/actions/github-pages-action