Sections
Development and databases
Git and deployments
Git repositories in cPanel and automatic deployment from GitHub with .cpanel.yml or Deployer.
6 articles in this topic
- Automatic deployment from GitHub, GitLab or Bitbucket with instant rollback Connect a Git repository to your hosting, run per-release scripts with deployment and .env variables, manage shared files and go back to a previous release if something fails. 37 min · Reviewed 10/2026
- Deploy WordPress and Laravel on cPanel with Deployer Set up Deployer 8 to publish WordPress or Laravel to your cPanel hosting over SSH, with releases, shared files, rollback and the public_html link for the main domain. Includes complete deploy.php files and troubleshooting. 4 min · Reviewed 10/2026
- Automatic deployment from GitHub to cPanel with Git and .cpanel.yml (Laravel example) Step by step to clone a private GitHub repository in cPanel, define the deployment tasks in .cpanel.yml, publish Laravel on the main domain and deploy on every push with a GitHub webhook. 14 min · Reviewed 10/2026
- Automate deployment in cPanel with the .cpanel.yml file How to write the .cpanel.yml file with the tasks for each deployment in cPanel's Git, when it runs (push or pull) and how to trigger it through the API or with a cron job. With examples ready to copy. 8 min · Reviewed 10/2026
- Clone and deploy from a private remote repository Authorise a hosting SSH key on GitHub, clone a private repository, check the connection and apply changes with pull from production. 6 min · Reviewed 09/2026
- cPanel Git Version Control: clone repositories, view the history and deploy Use cPanel Git Version Control to clone a GitHub or GitLab repository or create an empty one, switch branches, update from the remote, deploy with .cpanel.yml and view the history. 5 min · Reviewed 10/2026