X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/ad3d97f191e9b6c7385ba4bb7b03c57910488d25..1aac4acc3647bfaebbe976cc1e2f6de9fa92cfd0:/research/upload.sh diff --git a/research/upload.sh b/research/upload.sh index 6832be4..0cad195 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/www.ralfj.de/docroot/research/ -aP --exclude .git