include additional rsync options in .rsync and .rsync_HOSTNAME, mostly meant for additional filters in addition to the defaults

This commit is contained in:
Andreas Neue 2023-08-22 13:37:36 +02:00
parent 575402c7a8
commit 47c0d2f4b1
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ ifdef DEPLOY_HOSTS
param="-ravv"; \
param="$$param $$rsync_xtra"; \
param="$$param $$rsync_xtra_host"; \
param="$$param . --exclude '*~' --exclude '.git*' --exclude '*.swp' $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME)"; \
param="$$param --exclude '*~' --exclude '.git*' --exclude '*.swp' . $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME)"; \
eval rsync $$param; \
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME) && chmod o-r .env secrets*"; \
)