diff --git a/.woodpecker.yml b/.woodpecker.yml index 24fd5fe..5421cf2 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -21,5 +21,5 @@ steps: image: alpine:3.18 commands: - apk add --no-cache lftp - - lftp -c "set ssl:verify-certificate no; open -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST; mirror -R dist/ ./" + - lftp -u "$FTP_USERNAME","$FTP_PASSWORD" -e "set ssl:verify-certificate no; set ftp:ssl-allow yes; set ftp:ssl-force true; set ftp:ssl-protect-data true; set ftp:passive-mode true; mirror -R dist/ ./; quit" $FTP_HOST secrets: [ ftp_username, ftp_password, ftp_host ]