From 1f38801b547b2467ab83fd80a831d4eaf422151e Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Tue, 7 May 2019 17:15:24 -0400 Subject: [PATCH 1/1] build manifest: exclude .git subdir --- .build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index 520db94..2ec4ffe 100644 --- a/.build.yml +++ b/.build.yml @@ -10,4 +10,4 @@ secrets: tasks: - deploy: | sshopts="-o StrictHostKeyChecking=no" - rsync --rsh="ssh $sshopts" -rP bandali.eu.org/ ${deploy}:/var/www/bandali.eu.org/ + rsync --rsh="ssh $sshopts" --exclude='.git/' -rP bandali.eu.org/ ${deploy}:/var/www/bandali.eu.org/ -- 2.20.1