X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update-all;h=e55aa84ccf3e958491e0fd1694b6336b5aa4c246;hb=HEAD;hp=4423f10667e4eea767b034430c225ef56ac02dd0;hpb=6aa7ab00b5dc30b6221d0d55fecc1b0b957cdd79;p=phdru.name%2Fphdru.name.git diff --git a/update-all b/update-all index 4423f10..e55aa84 100755 --- a/update-all +++ b/update-all @@ -1,2 +1,10 @@ #! /bin/sh -cd ../htdocs && exec distribute -d phd.pp.ru + +git diff --quiet web/master master || +git push web master || exit 1 + +cd "`dirname \"$0\"`"/.. && +distribute -aD phdru.name && + +cd htdocs && +exec distribute -aD git.phdru.name phdru.name