Hello,
I am using rsync pipeline to deploy to my server, but it happens that essential information like the content is being replaced by the dummy content I have in my local.
pipelines:
branches:
main:
- step:
name: Deploy to production
deployment: production
script:
- pipe: atlassian/rsync-deploy:0.8.1
variables:
USER: $USER
SERVER: $SERVER
REMOTE_PATH: $REMOTE_PATH
LOCAL_PATH: "${BITBUCKET_CLONE_DIR}/"
EXCLUDES: ".gitignore"
Also I realised the obvious that if I include the content folders in my .gitignore, I would remove them totally from my server. Which is not intended?
Is there a way to the pipeline ignore updating specific folders, as i want to keep them untouched on my server? The content folder on my root, for example.
This, of course, respecting what I have in my .gitignore
Thanks