Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (9 sloc) 185 Bytes
#!/bin/sh
set -e
git checkout gh-pages
git checkout master -- site/
git mv -fk site/* .
git commit -am 'Update files'
git push origin gh-pages:gh-pages
git checkout master
git push