X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update-all;h=e55aa84ccf3e958491e0fd1694b6336b5aa4c246;hb=HEAD;hp=922d44e176dcf519dad07eb2870ef97b2982755c;hpb=9055c1557f28ef28a3453d7fada31c563d54cfab;p=phdru.name%2Fphdru.name.git diff --git a/update-all b/update-all index 922d44e..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