projects
/
web.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2d9205e38214e03dec7fcaba986554b108380249
[web.git]
/
personal
/
upload.sh
1
#/bin/bash
2
cd "$(dirname "$0")"
3
4
jekyll build
5
cd _site
6
7
git add .
8
if ! git diff --cached; then
9
# There are changes
10
git commit -m "site upload"
11
fi
12
13
rsync ./ www.ralfj.de:/srv/www.ralfj.de/docroot/ -aP --exclude .git