summaryrefslogtreecommitdiff
path: root/push_ghpage
blob: de64e2b97630b8f23f9b4a403dc85c784733b7e9 (plain)
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