mirror of
https://github.com/GenieTim/ftp-action.git
synced 2024-12-05 07:22:25 +08:00
12afc55717
Comparing all Git files on every action takes up time and I’m assuming people don’t need the Git history to be available on their FTP server
6 lines
167 B
Bash
Executable File
6 lines
167 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ssl:verify-certificate false; mirror -R -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"
|