carvemerson/SSH Deploy
rsync a prebuilt directory to an SSH host and run pre/post-deploy commands
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source-dir | Directory on the runner to deploy (e.g. a build action artifact path) | yes | — |
| ssh-host | SSH host | yes | — |
| ssh-user | SSH user | yes | — |
| ssh-key | SSH private key (store in a secret) | yes | — |
| ssh-port | SSH port | no | 22 |
| remote-path | Target directory on the host | yes | — |
| php-binary | PHP binary on the host, exported as $PHP to pre/post commands | no | php |
| pre-deploy-commands | Multiline shell commands run on the host before sync | no | "" |
| post-deploy-commands | Multiline shell commands run on the host after sync | no | "" |
| rsync-delete | Pass --delete to remove stale files on the host | no | true |
| protect-paths | Space/newline-separated paths excluded from sync and delete | no | .env storage bootstrap/cache |
| rsync-extra-args | Extra raw rsync args | no | "" |
| known-hosts | Pinned known_hosts entries; if empty, ssh-keyscan is used | no | "" |
Outputs
no outputs