To whom it may concern,
Hoping someone can help me figure out what is wrong with my rsync-deploy pipeline. It seems to be re-deploying all code, rather than just the files that have changed.
pipelines:
branches:
master:
- step:
name: rsync
script:
- pipe: atlassian/rsync-deploy:0.8.1
variables:
USER: $DEPLOY_USER
SERVER: $DEPLOY_HOST
REMOTE_PATH: $DEPLOY_PATH
LOCAL_PATH: ${BITBUCKET_CLONE_DIR}/
EXTRA_ARGS: '-apuv -c --update ${BITBUCKET_CLONE_DIR}/ --exclude-from=deployment-exclude-list.txt'
- ssh $DEPLOY_USER@$DEPLOY_HOST "cd ${DEPLOY_PATH}/ && composer install && sudo service php8.1-fpm restart"
I've tried to force it to check the checksum, but every time master is pushed to/merged in to, all files are changed on the server (timestamp is updated for every file, not just the changed files)
Thanks,
Alex