aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/gh-pages.sh
blob: e44bab4f4f78563769db47c567800f3a1f569810 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

git checkout -- .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 HEAD^