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
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') |