redeploy_from_github
Pulls GitHub commits into a cPanel repository and executes .cpanel.yml deployment tasks to redeploy the configured site.
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') |