restore meta-data

This commit is contained in:
hsimah 2021-01-31 11:21:42 -08:00
parent 58def8a9fd
commit a7594c5b74
3 changed files with 4 additions and 4 deletions

View file

@ -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 }}

View file

@ -1,5 +1,5 @@
name: 'ftp-action-delete-first'
author: 'hsimah'
name: 'ftp-action'
author: 'Sebastian Popp <ftp-action@sebastianpopp.com>'
description: 'Automate copying your files via FTP using this GitHub action.'
inputs:
host:

View file

@ -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"