paxha/cPanel Deploy using API Token
Deploy to cPanel using cPanel API and git
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| host | Host of cPanel installation, including protocol. for instance: https://serverxxx.web-hosting.com | yes | — |
| port | Port of cPanel API. The default value is 2083 - don't change it unless you know what you're doing | no | 2083 |
| username | Username of cPanel account. Must be the same username used to create the token. e.g: 'pasha' | yes | — |
| api_token | API Token of cPanel account. Must be generated from cPanel, used for authorization. You should store this as a repository-secret. | yes | — |
| remote_path | Path to the directory where the repository is installed in the target cPanel account. must already exist. e.g: /home/your_username/repositories/your_repository | yes | — |
| branch | Branch to deploy. e.g: 'master' or 'main' or 'develop' or 'feature/your-feature' | no | main |
| deploy | Run the .cpanel.yml deploy or not | — | true |
Outputs
| name | description |
|---|---|
| duration | Time it took to deploy, in milliseconds |