Preserve Google and Bind verification pages on deploy.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 11 Sep 2016 15:41:29 +0300
changeset 2031 6f913ce241e3
parent 2030 9fd071f61d19
child 2032 e409dc6ebc51
Preserve Google and Bind verification pages on deploy.
Makefile
--- a/Makefile	Sun Sep 11 02:09:34 2016 +0300
+++ b/Makefile	Sun Sep 11 15:41:29 2016 +0300
@@ -68,10 +68,12 @@
 .PHONY: deploy
 deploy: deploy2defun-web deploy2defun-hg # deploy2sf-web deploy2sf-hg
 
+RSYNC_FLAGS := --delete -avP -e ssh --exclude "google*.html" --exclude "BingSiteAuth.xml"
+
 # Will be accessible via: http://tips.defun.work/
 .PHONY: deploy2defun-web
 deploy2defun-web: www
-	rsync --delete -avP -e ssh $(HTML_DIR)/ $(WWW_SRV_USER)@$(WWW_SRV_NAME):/srv/www/tips/
+	rsync $(RSYNC_FLAGS) $(HTML_DIR)/ $(WWW_SRV_USER)@$(WWW_SRV_NAME):/srv/www/tips/
 
 .PHONY: deploy2defun-hg
 deploy2defun-hg:
@@ -80,7 +82,7 @@
 # Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/
 .PHONY: deploy2sf-web
 deploy2sf-web: www
-	rsync --delete -avP -e ssh $(HTML_DIR)/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/
+	rsync $(RSYNC_FLAGS) $(HTML_DIR)/ gavenkoa@frs.sourceforge.net:/home/user-web/g/ga/gavenkoa/htdocs/tips-html/
 
 .PHONY: deploy2sf-hg
 deploy2sf-hg: