fcocea/pm2-restart-action

Restart a remote PM2 service over SSH after repository changes

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Sep 15, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: fcocea/pm2-restart-action@11e177d08c6bc382afa1047f75e035aa957e9dc7 # v1.0.1

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

namedescriptionrequireddefault
SSH_HOSTSSH IP address of the remote serveryes
SSH_PORTSSH Port of the remote serveryes22
SSH_USERSSH Username for connecting to the remote serveryes
SSH_PASSSSH Password for connecting to the remote serveryes
FOLDERFolder where the pm2 service is locatedyes
PM2_SERVICEName of the pm2 serviceyes
REPO_BRANCHBranch of the repositorynomain

no outputs