From 0da595a6572120ea6473773bcd8a594e8d66b835 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 30 Jun 2024 21:58:05 +0200 Subject: [PATCH] stop uploading webcontent to the old server (OpenBSD) --- .githooks/pre-push | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.githooks/pre-push b/.githooks/pre-push index 2fbc7e7..12832c5 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -36,18 +36,18 @@ command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configure git lfs pre-push "$@" echo " Done!" -echo -n ">>> Pushing files to *bor* (old server)..." - -ret="$(rsync --no-motd -acvhz --stats --del public/ bor:/var/www/sites/oe7drt/ > /dev/null 2>&1)" - -if [ "$?" -eq "0" ] ; then - echo " Success!" -else - echo " *** FAILED ***" - echo "Could not sync files to *bor* (rsync). Aborting..." - clean_up - exit 1 -fi +# echo -n ">>> Pushing files to *bor* (old server)..." +# +# ret="$(rsync --no-motd -acvhz --stats --del public/ bor:/var/www/sites/oe7drt/ > /dev/null 2>&1)" +# +# if [ "$?" -eq "0" ] ; then +# echo " Success!" +# else +# echo " *** FAILED ***" +# echo "Could not sync files to *bor* (rsync). Aborting..." +# clean_up +# exit 1 +# fi echo -n ">>> Pushing files to *celeste* (new server)..."