1 PUBLISH_HOST=cworth.org
2 PUBLISH_DIR=/srv/families.cworth.org/www
4 DO_NOT_PUBLISH="Makefile"
8 git clone . .deploy-source
9 rm -rf .deploy-source/.git
10 (cd .deploy-source; rm $(DO_NOT_PUBLISH); rsync -avz ./ --delete --delete-after $(PUBLISH_HOST):$(PUBLISH_DIR) )