From 1189d27163384b0925b2367a30f584ee41ada101 Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Mon, 4 Jul 2022 17:47:31 +0200 Subject: [PATCH] omit .git on upload --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ee7a30a..afadbe0 100644 --- a/Makefile +++ b/Makefile @@ -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: