include additional rsync options in .rsync and .rsync_HOSTNAME, mostly meant for additional filters in addition to the defaults
This commit is contained in:
parent
575402c7a8
commit
47c0d2f4b1
2
Makefile
2
Makefile
|
@ -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*"; \
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue