Permalink
Browse files

docs: add gh-pages publishing helper script

  • Loading branch information...
1 parent 332614b commit 37ebeeb0dae1a8f38543211ff1e1ef995a4db498 @TooTallNate committed Jul 12, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 docs/gh-pages.sh
View
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+npm run docs \
+ && rm -rf /tmp/ref_docs \
+ && mkdir -p /tmp/ref_docs \
+ && cp -Lrf {index.html,images,scripts,stylesheets} /tmp/ref_docs \
+ && git checkout gh-pages \
+ && cp -Lrf /tmp/ref_docs/* . \
+ && echo "done"

0 comments on commit 37ebeeb

Please sign in to comment.