pointers are complicated: clarify that this post is not about exploring the trade-off
[web.git] / personal / upload.sh
index 2d9205e38214e03dec7fcaba986554b108380249..aac35c48ad2a1d20138516a14a270b297596d370 100755 (executable)
@@ -5,9 +5,7 @@ jekyll build
 cd _site
 
 git add .
 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
 
 rsync ./ www.ralfj.de:/srv/www.ralfj.de/docroot/ -aP --exclude .git