From 3bb606f658deb2ccdeb22703b6eefa28a917ebfa Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 21 Nov 2018 09:26:20 +0100 Subject: [PATCH] fix tracking generated HTML files --- personal/upload.sh | 6 ++---- research/upload.sh | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/personal/upload.sh b/personal/upload.sh index 2d9205e..aac35c4 100755 --- a/personal/upload.sh +++ b/personal/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 -- 2.30.2