X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/4ea4824e308ef60db50d58359ae05aafcf7de6f6..5a7701995b1a0e5a5f491f76dcfbf904f44577b9:/ralf/upload.sh?ds=sidebyside 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