changeset 60:387dd3541a06

Point to defun.work to grab sources.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Wed, 23 Dec 2015 12:29:27 +0200
parents 92285d7eb0c5
children cba303c0ad38
files Makefile
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Dec 21 18:18:56 2015 +0200
+++ b/Makefile	Wed Dec 23 12:29:27 2015 +0200
@@ -61,13 +61,17 @@
 endif
 
 .PHONY: deploy
-deploy: deploy2defun-web deploy2sf-web deploy2sf-hg
+deploy: deploy2defun-web deploy2defun-hg deploy2sf-web deploy2sf-hg
 
 # Will be accessible via: http://tips.defun.work/frame.html
 .PHONY: deploy2defun-web
 deploy2defun-web: html
 	rsync --delete -avP -e ssh tips-html/ user@vps:/srv/www/tips/
 
+.PHONY: deploy2defun-hg
+deploy2defun-hg:
+	hg push ssh://user@hg.defun.work//srv/hg/tips || [ $$? = 1 ]
+
 # Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/frame.html
 .PHONY: deploy2sf-web
 deploy2sf-web: html