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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.