fcocea/pm2-restart-action
Restart a remote PM2 service over SSH after repository changes
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Sep 15, 2025
- License
- None
Pinned Snippet
uses: fcocea/pm2-restart-action@11e177d08c6bc382afa1047f75e035aa957e9dc7 # v1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| SSH_HOST | SSH IP address of the remote server | yes | — |
| SSH_PORT | SSH Port of the remote server | yes | 22 |
| SSH_USER | SSH Username for connecting to the remote server | yes | — |
| SSH_PASS | SSH Password for connecting to the remote server | yes | — |
| FOLDER | Folder where the pm2 service is located | yes | — |
| PM2_SERVICE | Name of the pm2 service | yes | — |
| REPO_BRANCH | Branch of the repository | no | main |
Outputs
no outputs