I've been trying to deploy my dist folder via bitbucket pipelines + lftp for quite a while now. I've tried various variations of the linux commands and gone through a couple dozen articles on the issue yet I still can't get the thing to work.
So far my pipeline commands look like this:
- apt-get update
- apt-get install lftp
- lftp set ssl:verify-certificate no
- lftp $FTP_HOST
- user $FTP_USER
- $FTP_PASSWORD
- ls
- quit
But for set I'm getting 'lftp: set: Name or service not known'
-- when I delete the step it gets to user and I'm getting bash: user: command not found
if I add lftp in front of it I'm getting lftp: user: Name or service not known
I think in total I've tried over 30+ times to get these right with no luck.