blob: 02b5d08df8f91d3cb73be4f0b0929c6bf5a827e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
origin_branch=`git branch --show-current`
git checkout gh-pages -- .gitignore index.html && \
npm run build && npm run docs && \
git branch --force gh-pages HEAD && \
git checkout gh-pages && \
git add --all && git commit -m gh-pages && \
git push -f &&
git checkout $origin_branch
|