Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 355 Bytes
#!/bin/bash
git clone git@github.com:davidsiaw/davidsiaw.github.io
pushd davidsiaw.github.io
git config --global user.email "davidsiaw@gmail.com"
git config --global user.name "David Siaw (via Travis CI)"
git config --global push.default simple
cp -r ../public/* .
git add -u
git add *
git commit -m "Update blog"
git push
popd
rm -rf davidsiaw.github.io