update uninit example so that it still works in current Rust
[web.git] / research / upload.sh
index 6832be43c8699654210aaa60026e2da4cac1a5dd..249ef6bb473e9bb2d8db38ffa6b94c4048b7853a 100755 (executable)
@@ -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