mirror of
https://github.com/sebastianpopp/ftp-action.git
synced 2026-01-09 04:38:23 +01:00
restore meta-data
This commit is contained in:
parent
58def8a9fd
commit
a7594c5b74
3 changed files with 4 additions and 4 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue