pinkasey/cPanel Deploy Action
deploy to cPanel using cPanel API and git
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 6, 2026
- Maintenance Recency
- Activelast commit May 31, 2026
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: pinkasey/cpanel-deploy-action@5165cf7b6c553654ce1efba26cc8ed20e1ea47d8 # v1.2.5tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| hostname | hostname of cPanel installation, including protocol. for instance: https://hostname.example.com | yes | — |
| cPanelApiPort | Port of cPanel API. The default value is 2083 - don't change it unless you know what you're doing | no | 2083 |
| cpanel_token | cPanel API token, used for authorization. You should store this as a repository-secret. | yes | — |
| cpanel_username | cPanel username used for API calls. Must be the same username used to create the token. e.g: 'joe' | yes | — |
| repository_root | folder in which the repository is installed in the target cPanel account. must already exist. e.g: /home/your_account/repositories/your_repository | yes | — |
| updateRepository | Whether or not to update the repository before triggering the deployment. If true - parameter 'branch' is required. defaults to 'true'. | yes | true |
| branch | branch to deploy. e.g: 'main' or 'master', or any other branch | no | main |
Outputs
| name | description |
|---|---|
| duration | Duration of deployment, in milliseconds |