Automating cPanel Deploys With Git: .cpanel.yml and What Actually Works
cPanel has had built-in Git deployment for years and almost nobody uses it, because the first thing everyone tries — push to GitHub and expect the site to update — is the one thing it does not do on its own. The working setup, the three gotchas that stop people, and an honest comparison against FTP.