diff --git a/README.md b/README.md index 51f9767..50c4a78 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Upload ftp - uses: hsimah/ftp-action-delete-first@releases/v2 + uses: sebastianpopp/ftp-action@releases/v2 with: host: ${{ secrets.FTP_SERVER }} user: ${{ secrets.FTP_USERNAME }} diff --git a/action.yml b/action.yml index c8d9b0b..6d362cb 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ -name: 'ftp-action-delete-first' -author: 'hsimah' +name: 'ftp-action' +author: 'Sebastian Popp ' description: 'Automate copying your files via FTP using this GitHub action.' inputs: host: diff --git a/entrypoint.sh b/entrypoint.sh index 958ed52..45331f7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,3 +1,3 @@ #!/bin/sh -l -lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ftp:ssl-force $INPUT_FORCESSL; set ssl:verify-certificate false; mirror --reverse --continue --dereference -x ^\.git/$ $INPUT_OPTIONS $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit" +lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ftp:ssl-force $INPUT_FORCESSL; set ssl:verify-certificate false; mirror $INPUT_OPTIONS --reverse --continue --dereference -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"