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?
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:
script: - pipe: atlassian/rsync-deploy:0.4.4 variables: USER: 'ec2-user' SERVER: '127.0.0.1' REMOTE_PATH: '/var/www/build/' LOCAL_PATH: 'build' DEBUG: 'true' EXTRA_ARGS: '--ignore-time' or '--ignore-size' or 'checksum' # one of parameters
Cheers,
Oleksandr Kyrdan
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.