I merged a PR with just one file and sftp-deploy:0.7. seems to replace all of them in the repository.
My configuration:
image: php:8.0pipelines:branches:development: - step:name: Deploy to developmentscript: - pipe: atlassian/sftp-deploy:0.7.1variables:USER: $USER_SFTPSERVER: $IP_SERVERREMOTE_PATH: $PATH PASSWORD: $PASSWORD - step:name: Run Composercaches: - composerscript: - apt-get update && apt-get install -y unzip - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - composer install
Hi Lenon and welcome to the community!
I believe that this is standard behavior of sftp. You can try using the rsync pipe instead:
The man page of rsync mentions the following:
Rsync finds files that need to be transferred using a "quick check" algorithm (by default)that looks for files that have changed in size or in last-modified time. Any changes inthe other preserved attributes (as requested by options) are made on the destination filedirectly when the quick check indicates that the file’s data does not need to be updated.
Kind regards,Theodora
It looks like you're new here. Sign in or register to get started.