Permalink
Browse files

fix do-gh-pages for new site

Signed-off-by: Jordan Wilberding <diginux@gmail.com>
  • Loading branch information...
1 parent d2859ac commit df9c23378c978a50d4604f7dd88f6ec2bf6d9171 @ericbmerritt ericbmerritt committed with jwilberding Apr 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 do-gh-pages
View
@@ -1,6 +1,6 @@
#!/bin/sh
PARENT_SHA=$(git show-ref -s refs/heads/gh-pages)
-DOC_SHA=$(git ls-tree -d HEAD doc | awk '{print $3}')
-NEW_COMMIT=$(echo "Auto-update docs." | git commit-tree $DOC_SHA -p $PARENT_SHA)
+DOC_SHA=$(git ls-tree -d HEAD site | awk '{print $3}')
+NEW_COMMIT=$(echo "Auto-update site." | git commit-tree $DOC_SHA -p $PARENT_SHA)
git update-ref refs/heads/gh-pages $NEW_COMMIT

0 comments on commit df9c233

Please sign in to comment.