wlixcc/SFTP Deploy
Deploy file to your server use sftp & ssh private key
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| username | username | yes | — |
| server | your sftp server | yes | — |
| port | your sftp server port, default to 22 | yes | 22 |
| ssh_private_key | you can copy private_key from your *.pem file, keep format | no | — |
| local_path | will put all file under this path | yes | ./* |
| remote_path | files will copy to under remote_path | yes | — |
| sftp_only | connection via sftp protocol only | no | false |
| sftpArgs | sftp args | no | — |
| delete_remote_files | This operation will delete all files in the remote path before upload. Please be careful set this to true | no | false |
| password | SSH passsword,If a password is set, the secret key pair is ignored | no | — |
| rsyncArgs | Additional arguments for the rsync command. You can use this parameter to customize the rsync behavior, such as excluding files or directories. Example: '--exclude=node_modules --exclude=.git --exclude=*.log'. If set, these arguments will be passed directly to the rsync command. | no | "" |
| ssh_passphrase | Passphrase for ssh encrypted private-key. If the private-key is not encrypted, this parameter is not required. | no | — |
Outputs
no outputs