In the Settings page of a specific Cloudflare Pages page, there is the following section.
Automatic git deployments
Cloudflare automatically deploys using this connected GitHub repository’s source code.
Integrating GitHub
Above link is broken. It could be replaced with Git integration docs.