Skip to content

Commit

Permalink
Updated deploy script to publish to gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
cabralmartin committed Sep 26, 2015
1 parent 792ec82 commit 9c70c17
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/build/
build/
node_modules/
release/
npm-debug.log
8 changes: 8 additions & 0 deletions bin/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,11 @@ else
echo "Deploying $VERSION to cdn"
$BIN/grunt cdn
fi

echo "Preparing gh-pages deployment"
$BIN/grunt ghpages

echo "Publishing latest to gh-pages"
grep -v '^build$' .gitignore > /tmp/.gitignore
mv /tmp/.gitignore .gitignore
git subtree push --prefix support/playground origin gh-pages

0 comments on commit 9c70c17

Please sign in to comment.