X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/1f0f3080db6e753e81d3c5cc8efccd2894400d61..3fed083b92acd14573fda1495888c9f9bcb733cd:/ralf/upload.sh?ds=sidebyside diff --git a/ralf/upload.sh b/ralf/upload.sh index 4c4d7c6..aac35c4 100755 --- a/ralf/upload.sh +++ b/ralf/upload.sh @@ -3,4 +3,9 @@ cd "$(dirname "$0")" jekyll build cd _site -rsync ./ ralfj.de:srv/www.ralfj.de/docroot/ -aP + +git add . +git diff --cached +git commit -m "site upload" + +rsync ./ www.ralfj.de:/srv/www.ralfj.de/docroot/ -aP --exclude .git