mirror of
https://gitee.com/jack_whh/SFTP-Deploy-Action.git
synced 2026-03-09 23:12:55 +08:00
Add an option named sftp_only to connect via sftp only
This commit is contained in:
@@ -33,8 +33,13 @@ sftp srever port , default `22`
|
||||
**Required** `local_path` of you project, if you want put single file:use path like `./myfile`, if you want put directory: use path like `./static/*`, it will put all files under `static` directory. Default to `./*`(will put all files in your repo).
|
||||
|
||||
### `remote_path`
|
||||
|
||||
**Required** remote_path
|
||||
|
||||
### `sftp_only`
|
||||
|
||||
connection via sftp protocol only, the default value is `false`. If your port only accepts the sftp protocol, set this option to `true`. However, please note that when this option is set to `true`, the remote folder will not be created automatically.
|
||||
|
||||
### `args`
|
||||
args of sftp cmd, E.g.`-o ConnectTimeout=5`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user