build manifest: exclude .git subdir
authorAmin Bandali <bandali@gnu.org>
Tue, 7 May 2019 21:15:24 +0000 (17:15 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 7 May 2019 21:15:24 +0000 (17:15 -0400)
.build.yml

index 520db94..2ec4ffe 100644 (file)
@@ -10,4 +10,4 @@ secrets:
 tasks:
   - deploy: |
       sshopts="-o StrictHostKeyChecking=no"
 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/