Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Why does my build take so long?

Lenon Calsavara
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 10, 2023

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

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 11, 2023

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events