remove duplicate readme
[fsf-giving-guide.git] / git-hooks / post-update
index b737c4b..4a1bb33 100755 (executable)
@@ -28,8 +28,8 @@ git reset --hard $1
 echo Copying files...
 # A lot of files that we *don't* want to copy, so we're selective.
 rsync -az --delete --prune-empty-dirs \
-    --include='*/' --include='givingguide.html' --include='js/*' \
-    --include='images/*' --include='fonts/*' --include='*.css' --exclude='*' \
+    --include='*.html' --include='*.js' \
+    --include='img/**' --include='fonts/**' --include='*.css' --exclude='*' \
     /home/git/local/checkouts/fsf-giving-guide \
     vcshookuser@fsf.org:/var/www/ #2>/dev/null
 echo Fixing permissions on webserver...