mirror of
https://github.com/wlixcc/SFTP-Deploy-Action.git
synced 2026-10-02 01:21:30 +00:00
Add an option named sftp_only to connect via sftp only
This commit is contained in:
1 parent
28d6168ebf
commit
3a6bd36ae1
3 files changed
+17
-3
No files matched your search
@@ -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