UNPKG

241 Bapplication/x-shView Raw
1REMOTE=`git remote -v | grep origin | grep push | awk '{split($0,a," "); print a[2]}'`
2cd ./docs-ghpages
3
4git init
5git add .
6git commit -a -m 'update gh-pages'
7git branch 'gh-pages'
8git checkout 'gh-pages'
9git push $REMOTE 'gh-pages' --force
\No newline at end of file