black-host/Deployer 9000
Deploy code via FTP/FTPS/SFTP (lftp), or SSH (rsync) and run pre/post deploy commands on remote servers
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| protocol | ftp | sftp | ssh | no | ftp |
| server | Remote host or IP | yes | — |
| port | Remote port. If omitted, defaults to 21 (ftp), 22 (sftp/ssh) | no | — |
| username | Username (FTP/SFTP/SSH) | yes | — |
| password | Password (FTP/SFTP/SSH). Prefer keys for SFTP/SSH. | no | — |
| ssh_key | PEM-encoded private key for SFTP/SSH | no | — |
| local_dir | Local directory to upload (relative to GITHUB_WORKSPACE) | no | . |
| remote_dir | Remote directory path | no | / |
| secure | Use FTPS (TLS). true|false | no | true |
| verify_tls | Verify TLS cert (FTPS). true|false | no | true |
| passive | Passive mode (FTP/FTPS) | no | true |
| parallel | Parallel transfers for lftp mirror (1-5 safe) | no | 2 |
| extra_lftp | Extra lftp commands (advanced) | no | — |
| delete | Delete remote files not present locally (sync) | no | false |
| only_newer | Upload only newer files | no | true |
| exclude | Comma or line separated exclude globs (e.g. .git,node_modules,*.log) | no | — |
| dry_run | Plan mode—don’t actually write changes | no | false |
| pre_script | Command(s) to run on the remote host BEFORE upload | no | — |
| post_script | Command(s) to run on the remote host AFTER upload | no | — |
| remote_shell | Remote shell to use for scripts (e.g., /bin/bash -lc) | no | /bin/bash -lc |
Outputs
no outputs