easingthemes/ssh deploy
NodeJS action for FAST deployment with rsync/ssh and remote script execution before/after rsync
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| SSH_PRIVATE_KEY | Private key part of an SSH key pair | yes | — |
| REMOTE_HOST | Remote host | yes | — |
| REMOTE_USER | Remote user | yes | — |
| REMOTE_PORT | Remote port | no | 22 |
| SOURCE | Source directory, path relative to `$GITHUB_WORKSPACE` root, eg: `dist/` | no | "" |
| TARGET | Target directory | no | "" |
| ARGS | Arguments to pass to rsync | no | -rlgoDzvc -i |
| SSH_CMD_ARGS | An array of ssh arguments, they must be prefixed with -o and separated by a comma, for example: -o SomeArgument=no, -o SomeOtherArgument=5 | no | -o StrictHostKeyChecking=no |
| EXCLUDE | paths to exclude separated by `,`, ie: `/dist/, /node_modules/` | no | "" |
| SCRIPT_BEFORE | Script to run on host machine before rsync | no | "" |
| SCRIPT_BEFORE_REQUIRED | If not an empty string, the action will fail if the before script fails. Note: The string 'false' will be treated as true | no | "" |
| SCRIPT_AFTER | Script to run on host machine after rsync | no | "" |
| SCRIPT_AFTER_REQUIRED | If not an empty string, the action will fail if the after script fails. Note: The string 'false' will be treated as true | no | "" |
Outputs
| name | description |
|---|---|
| status | Status |