mirror of
https://github.com/sebastianpopp/ftp-action.git
synced 2025-12-05 11:44:51 +01:00
Added port and ssl-protect-data true
This commit is contained in:
parent
ca3f8d253d
commit
4a45a7fdaa
3 changed files with 34 additions and 28 deletions
20
README.md
20
README.md
|
|
@ -19,6 +19,7 @@ jobs:
|
|||
host: ${{ secrets.FTP_SERVER }}
|
||||
user: ${{ secrets.FTP_USERNAME }}
|
||||
password: ${{ secrets.FTP_PASSWORD }}
|
||||
port: ${{ secrets.FTP_PORT }}
|
||||
localDir: "dist"
|
||||
remoteDir: "www"
|
||||
options: "--delete --asci"
|
||||
|
|
@ -26,12 +27,13 @@ jobs:
|
|||
|
||||
## Input parameters
|
||||
|
||||
Input parameter | Description | Required | Default
|
||||
--- | --- | --- | ---
|
||||
host | FTP server name | Yes | N/A
|
||||
user | FTP username | Yes | N/A
|
||||
password | FTP password | Yes | N/A
|
||||
localDir | The local directory to copy | No | .
|
||||
remoteDir | The remote directory to copy to | No | .
|
||||
forceSsl | Force SSL encryption | No | false
|
||||
options | Mirror command options | No | ''
|
||||
| Input parameter | Description | Required | Default |
|
||||
| --------------- | ------------------------------- | -------- | ------- |
|
||||
| host | FTP server name | Yes | N/A |
|
||||
| user | FTP username | Yes | N/A |
|
||||
| password | FTP password | Yes | N/A |
|
||||
| port | FTP port | No | 21 |
|
||||
| localDir | The local directory to copy | No | . |
|
||||
| remoteDir | The remote directory to copy to | No | . |
|
||||
| forceSsl | Force SSL encryption | No | false |
|
||||
| options | Mirror command options | No | '' |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue