X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/eaef5e06fdcbb3344efff7abeb62696c41ec907c..6a09e54876b302feb4f66e055c39fa4007755a5c:/research/upload.sh?ds=sidebyside diff --git a/research/upload.sh b/research/upload.sh index 6832be4..249ef6b 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 +rsync ./ ralfj.de:/srv/research.ralfj.de/docroot/ -aP --exclude .git