generate_cpanel_yml
Creates or updates a .cpanel.yml deployment specification, defining the target website directory and optional build commands for cPanel Git deployments.
Instructions
Generate or update a .cpanel.yml deployment specification in a repository or directory
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_dir | Yes | Directory where .cpanel.yml should be written (repository root) | |
| deploy_path | Yes | Target website directory where files will be copied (e.g. '/home/user/public_html') | |
| custom_commands | No | Optional build commands to run before copying (e.g. ['npm install', 'npm run build']) |