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