diff bin/sync-servers.dist @ 0:493bcb69166c

added public content
author Daniel Wolff
date Tue, 09 Feb 2016 20:54:02 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/sync-servers.dist	Tue Feb 09 20:54:02 2016 +0100
@@ -0,0 +1,20 @@
+echo ""
+echo ""
+echo "=================="
+echo "       PUSH       "
+echo ""
+hg push
+echo ""
+echo ""
+echo "=================="
+echo "       MIRG       "
+echo ""
+sshpass -p "PASS" ssh sbbk985@mirg.city.ac.uk "cd /var/www/html/doc/mirg/dml-vis/ && bin/update-from-repo"
+curl "http://mirg.city.ac.uk/dml-vis/rm_cache.php"
+echo ""
+echo ""
+echo "=================="
+echo "     DML-NEW      "
+echo ""
+sshpass -p "PASS" ssh dml@gosport.city.ac.uk "cd /var/www/html/vis && bin/update-from-repo"
+curl "http://dml.city.ac.uk/vis/rm_cache.php"