Require flag or option to disable --delete-first from the mirror command sent to lftp.
master deploy is to root of web-dir
/ <-- here
test is to subdir
/test/ <-- here
master deploy, due to --delete-first clears the /test/ directory
I did not find an obvious solution at http://manpages.ubuntu.com/manpages/trusty/en/man1/lftp.1.html
src ref: https://bitbucket.org/atlassian/ftp-deploy/src/master/pipe/pipe.sh line 40
script: - pipe: atlassian/ftp-deploy:0.3.0 variables: USER: my-ftp-user PASSWORD: $FTP_PASSWORD SERVER: 127.0.0.1 REMOTE_PATH: /tmp/my-remote-directory LOCAL_PATH: /my-working-directory, DELETE_FLAG: 'false'
Please notice that the default value of DELETE_FLAG is true - to leave the previous logic for those who already use the pipe.
If you have any questions or suggestions - feel free to leave it, we are always grateful for the feedback.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events