From: Amin Bandali Date: Tue, 7 May 2019 21:15:24 +0000 (-0400) Subject: build manifest: exclude .git subdir X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/commitdiff_plain/1f38801b547b2467ab83fd80a831d4eaf422151e?ds=sidebyside;hp=c66cdcb5a3a7ec6b0a336d54d3ae201191bc42a3 build manifest: exclude .git subdir --- 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/