From 947965074d270b4126a5a34cb3ff515446d3fef8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 9 Aug 2022 02:13:37 +0300 Subject: [PATCH] Feat: Also update the repository --- update-all | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5