X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update-all;h=e55aa84ccf3e958491e0fd1694b6336b5aa4c246;hb=HEAD;hp=97b46995d288ba96f72ddfe0ded242ca10fea524;hpb=ab097f5145699ee96ee4de47ee97ccc6e5d37232;p=phdru.name%2Fphdru.name.git diff --git a/update-all b/update-all index 97b4699..e55aa84 100755 --- a/update-all +++ b/update-all @@ -1,4 +1,10 @@ #! /bin/sh -cd ../htdocs/phdru.name && -exec distribute -d public_html +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