From: Ralf Jung Date: Wed, 21 Nov 2018 08:26:20 +0000 (+0100) Subject: fix tracking generated HTML files X-Git-Url: https://git.ralfj.de/web.git/commitdiff_plain/1dc585dd63e0a4a33ac4d4d079b293b27a5ea7e2?hp=4ea4824e308ef60db50d58359ae05aafcf7de6f6 fix tracking generated HTML files --- diff --git a/ralf/upload.sh b/ralf/upload.sh index 2d9205e..aac35c4 100755 --- a/ralf/upload.sh +++ b/ralf/upload.sh @@ -5,9 +5,7 @@ jekyll build cd _site git add . -if ! git diff --cached; then - # There are changes - git commit -m "site upload" -fi +git diff --cached +git commit -m "site upload" rsync ./ www.ralfj.de:/srv/www.ralfj.de/docroot/ -aP --exclude .git diff --git a/research/upload.sh b/research/upload.sh index 6832be4..f0268be 100755 --- a/research/upload.sh +++ b/research/upload.sh @@ -5,9 +5,7 @@ jekyll build cd _site git add . -if ! git diff --cached; then - # There are changes - git commit -m "site upload" -fi +git diff --cached +git commit -m "site upload" rsync ./ mpi-contact:public_html/ -aP --exclude .git