redeploy_from_github
Pull GitHub commits into a cPanel repository and run deployment tasks from .cpanel.yml to update hosted sites.
Instructions
Pull latest commits from GitHub and execute deployment tasks configured in .cpanel.yml
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repository_root": "<repository_root>"
},
"name": "redeploy_from_github"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch to pull and deploy | main |
| repository_root | Yes | cPanel repository path (e.g. '/home/user/repositories/mysite') |