connect_github_repo
Clones a GitHub repository to cPanel and optionally sets deployment paths, enabling automated Git-based site deployment.
Instructions
Connect and clone a GitHub repository to cPanel and optionally configure deployment paths
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Git branch to clone and track | main |
| deploy_path | No | Website destination path to deploy files to (e.g. 'public_html') | |
| github_repo_url | Yes | GitHub repository clone URL (HTTPS or SSH, e.g. 'https://github.com/owner/repo.git') | |
| repository_name | Yes | Identifier name for the repository in cPanel | |
| repository_root | Yes | Target path on cPanel (e.g. '/home/user/repositories/mysite') |