Skip to content

Commit

Permalink
Sorted the settings.
Browse files Browse the repository at this point in the history
Signed-off-by: Israel Roldan <israel.alberto.rv@gmail.com>
  • Loading branch information
airvzxf committed Sep 25, 2020
1 parent 752a2c3 commit 42bd2cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
server: ${{ secrets.FTP_SERVER }}
user: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
delete: "false"
local_dir: "./public_html"
delete: "false"
```
Optional, you can get the live version which has the last commits using this:
Expand Down Expand Up @@ -79,11 +79,11 @@ jobs:
server: ${{ secrets.FTP_SERVER }}
user: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local_dir: "./public_html"
remote_dir: "/www/sub-domain/games/myself"
delete: "true"
max_retries: "7"
no_symlinks: "false"
local_dir: "./public_html"
remote_dir: "/www/sub-domain/games/myself"
ftp_ssl_allow: "true"
ftp_use_feat: "true"
ftp_nop_interval: "9"
Expand Down
16 changes: 8 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ inputs:
password:
description: 'FTP Password.'
required: true
local_dir:
description: 'Local directory.'
required: false
default: './'
remote_dir:
description: 'Remote directory.'
required: false
default: './'
delete:
description: 'Delete all the files inside of the remote directory.'
required: false
Expand All @@ -25,14 +33,6 @@ inputs:
description: 'Do not create symbolic links.'
required: false
default: 'true'
local_dir:
description: 'Local directory.'
required: false
default: './'
remote_dir:
description: 'Remote directory.'
required: false
default: './'
ftp_ssl_allow:
description: 'FTP - Allow SSL encryption.'
required: false
Expand Down

0 comments on commit 42bd2cd

Please sign in to comment.