rollback to lftp
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Gianmarco Pettinato 2021-12-16 12:42:34 +01:00
parent 442821e401
commit 459162cd12

View File

@ -11,15 +11,14 @@ steps:
- npm run build
- name: deploy
image: cschlosser/drone-ftps
image: mwienk/docker-lftp
environment:
FTP_USERNAME:
USERNAME:
from_secret: username
FTP_PASSWORD:
PASSWORD:
from_secret: password
PLUGIN_HOSTNAME:
HOST:
from_secret: host
PLUGIN_DEST_DIR: /www
PLUGIN_SRC_DIR: /build
PLUGIN_EXCLUDE: (.htaccess)|(.git)
commands:
- "ls"
- lftp -c "open -u $USERNAME,$PASSWORD $HOST; mirror -Rnev ./build ./www --ignore-time --parallel=10 --exclude .htaccess --exclude-glob .git* --exclude .git/"