pinkasey/cPanel Deploy Action

deploy to cPanel using cPanel API and git

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Activelast commit May 31, 2026
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: pinkasey/cpanel-deploy-action@5165cf7b6c553654ce1efba26cc8ed20e1ea47d8 # v1.2.5

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
hostnamehostname of cPanel installation, including protocol. for instance: https://hostname.example.comyes
cPanelApiPortPort of cPanel API. The default value is 2083 - don't change it unless you know what you're doingno2083
cpanel_tokencPanel API token, used for authorization. You should store this as a repository-secret.yes
cpanel_usernamecPanel username used for API calls. Must be the same username used to create the token. e.g: 'joe'yes
repository_rootfolder in which the repository is installed in the target cPanel account. must already exist. e.g: /home/your_account/repositories/your_repositoryyes
updateRepositoryWhether or not to update the repository before triggering the deployment. If true - parameter 'branch' is required. defaults to 'true'.yestrue
branchbranch to deploy. e.g: 'main' or 'master', or any other branchnomain
namedescription
durationDuration of deployment, in milliseconds