mirror of
https://github.com/sebastianpopp/ftp-action.git
synced 2025-12-05 11:44:51 +01:00
Merge pull request #1 from thijsniks/master
- Excluding Git history - Made the server variable a secret - Continue when possible - Deference symbolic links - Verbose bash commands
This commit is contained in:
commit
73cab2a2cd
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
- name: Deploy FTP
|
||||
uses: sebastianpopp/ftp-action@master
|
||||
with:
|
||||
host: "ftp.example.com"
|
||||
host: ${{ secrets.FTP_SERVER }}
|
||||
user: ${{ secrets.FTP_USERNAME }}
|
||||
password: ${{ secrets.FTP_PASSWORD }}
|
||||
localDir: "dist"
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
set -e
|
||||
|
||||
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror -R $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"
|
||||
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror --reverse --continue --dereference -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue