X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/4ea4824e308ef60db50d58359ae05aafcf7de6f6..48fe9b760d29f49bffcf8728ac2955ea0cb3fa76:/research/upload.sh 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