aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/gh-pages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gh-pages.sh')
-rwxr-xr-xscripts/gh-pages.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/gh-pages.sh b/scripts/gh-pages.sh
new file mode 100755
index 0000000..e44bab4
--- /dev/null
+++ b/scripts/gh-pages.sh
@@ -0,0 +1,9 @@
1#!/bin/bash
2
3git checkout -- .gitignore index.html && \
4npm run build && npm run docs && \
5git branch --force gh-pages HEAD && \
6git checkout gh-pages && \
7git add --all && git commit -m gh-pages && \
8git push -f &&
9git checkout HEAD^