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.0
pipelines:
branches:
development:
- step:
name: Deploy to development
script:
- pipe: atlassian/sftp-deploy:0.7.1
variables:
USER: $USER_SFTP
SERVER: $IP_SERVER
REMOTE_PATH: $PATH
PASSWORD: $PASSWORD
- step:
name: Run Composer
caches:
- composer
script:
- 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 in
the other preserved attributes (as requested by options) are made on the destination file
directly when the quick check indicates that the file’s data does not need to be updated.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.