generate_github_actions_workflow
Generates a GitHub Actions workflow at .github/workflows/deploy.yml that calls cPanel to redeploy a repository automatically on push.
Instructions
Generate a GitHub Actions workflow (.github/workflows/deploy.yml) that automatically calls cPanel to redeploy on push
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": "generate_github_actions_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Target branch to trigger deployments | main |
| build_steps | No | Optional build steps in GitHub Actions before deploying (e.g. ['npm ci', 'npm run build']) | |
| repository_root | Yes | cPanel repository path (e.g. '/home/user/repositories/my-site') |