Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

rsync-deploy or rsync-ssh?

Site ground has recently updated our hosting tools from cPanel to their suite of "Site Tools" now my existing rsync-ssh pipelines are not working.

I have it pretty much sorted out all the way to my script where I run the rsync command.

It's not copying my changes over to my server. The files seem to be updated (based on datestamps in the file explorer on the actual site) but I don't see any of the expected code changes.

So while trying to troubleshoot this, I came across the rsync-deploy pipe. 

I'm wondering if I'd have better luck with that one? 

1 answer

0 votes

Hi @robtown

Thank you for your question!

According to the rsync docs you could use one of parameters "--ignore-times", "--ignore-size" or "--checksum" related to your case as an EXTRA_ARGS option for the rsync-deploy pipe:

  - pipe: atlassian/rsync-deploy:0.4.4
      USER: 'ec2-user'
      SERVER: ''
      REMOTE_PATH: '/var/www/build/'
      LOCAL_PATH: 'build'
      DEBUG: 'true'
      EXTRA_ARGS: '--ignore-time' or '--ignore-size' or 'checksum' # one of parameters

Oleksandr Kyrdan

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,497 views 4 8
Read article

Community Events

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

Events near you