1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh git checkout -B gh-pages git pull origin gh-pages rm * rm -rf src rm -rf test cp -r build/result/docs/* . rm -rf build rm .travis.yml git add . git commit -a -m "New documents on github" git push origin gh-pages