add to_gh.sh

This commit is contained in:
chyyuu 2014-10-26 12:07:48 +08:00
parent 7dc7687862
commit f47d5e4481
1 changed files with 8 additions and 0 deletions

8
to_gh.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
gitbook build .
cp -rf _book/* ~/tmp/ucore_docs
cd ~/tmp/ucore_docs
git add .
git commit -m 'pub'
git push origin gh-pages