sftp_upload
Upload local files or directories to a remote host via SFTP so you can ship code, config, or binaries before running deployment commands.
Instructions
Upload a local file or directory to a remote host over SFTP. Use to ship code, config or binaries before running deploy commands. remotePath must be absolute; localPath is any readable local path. If the host sets uploadRoots, the remote path must sit inside one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| mode | No | ||
| localPath | Yes | ||
| overwrite | No | ||
| remotePath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||