omit .git on upload

This commit is contained in:
Andreas Neue 2022-07-04 17:47:31 +02:00
parent 57d241d513
commit 1189d27163
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ post-deploy-docker:
upload:
@- echo "\n### uploading files"
@- $(foreach host,$(DEPLOY_HOSTS), \
rsync -rav --exclude '*~' . $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME); \
rsync -rav --exclude '*~' --exclude '.git*' . $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME); \
)
pull: