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