projects
/
web.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6832be43c8699654210aaa60026e2da4cac1a5dd
[web.git]
/
research
/
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 ./ mpi-contact:public_html/ -aP --exclude .git