X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/ad3d97f191e9b6c7385ba4bb7b03c57910488d25..eb463da5f127ecb2f2460967e72df6aeea80a977:/personal/upload.sh?ds=sidebyside 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