I'm using this in my pipeline:
- pipe: atlassian/ftp-deploy:0.3.5
variables:
USER: '$live_user'
SERVER: '$live_server'
REMOTE_PATH: '$dev_path'
PASSWORD: '$live_password'
# LOCAL_PATH: '${BITBUCKET_CLONE_DIR}'
DEBUG: 'false'
EXTRA_ARGS: "--exclude=.idea/ --exclude=.git/"
And instead of uploading it to my REMOTE_PATH, a subfolder in the remote-path is created named "build". And inside that build-folder, all latest files are uploaded to.
But i want them to be uploaded directly into the remote-path, no automatically generated subfolders.
I also found this, but that didn't solve the problem: Solved: SFTP-deploy pipe creates build folder on remote an... (atlassian.com)
Hi @robdebert ,
Thank you for your question!
Looks like your LOCAL_PATH should include build directory:
LOCAL_PATH: '${BITBUCKET_CLONE_DIR}/build'
Have tested this case and the ftp-deploy pipe uploads only files from the directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.