From: Oleg Broytman Date: Mon, 8 Aug 2022 23:13:37 +0000 (+0300) Subject: Feat: Also update the repository X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=947965074d270b4126a5a34cb3ff515446d3fef8;hp=123caa2fc6ef46d3a862678b45077923fd1a2138;p=phdru.name%2Fphdru.name.git Feat: Also update the repository --- diff --git a/update-all b/update-all index 5a782af..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