X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=update-all;h=5a782af31910aaf5f7667d69d305c2b4a91e6be1;hb=HEAD;hp=4aa0189bb1dbc7b679aecfe92539daf8d1140c4a;hpb=7dae99f67e2a57f8f86e6a18a427c9e8cb2db4cc;p=phdru.name%2Fphdru.name.git diff --git a/update-all b/update-all index 4aa0189..e55aa84 100755 --- a/update-all +++ b/update-all @@ -1,4 +1,10 @@ #! /bin/sh -cd "`dirname \"$0\"`"/.. && distribute -ad phdru.name -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