pinkasey/cPanel Repository Action

updates a repository that is installed in a cPanel site using cPanel API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
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
branchbranch to checkout and update. e.g 'main'. Be careful when setting this parameter - it may change the checked-out branch in cPanelyes
timeouthttp timeout (in milliseconds) for the command sent to cPanel. Default is 5000 (5 seconds)no5000
namedescription
commitHashHash of last commit, after a successful update
commitMessageMessage of last commit, after a successful update
commitAuthorAuthor of last commit, after a successful update
commitDateDate of last commit (epoch time, in seconds), after a successful update
durationDuration of deployment, in milliseconds