Skip to content

Commit

Permalink
Add deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
meltingice committed Dec 15, 2012
1 parent 467f1c9 commit 707827b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deploy.sh
@@ -0,0 +1,11 @@
#!/bin/bash

git submodule init && git submodule update
rake jekyll:compile
git checkout gh-pages
ls | grep -v (_site|CNAME) | xargs rm -rf
cp -R _site/* .
rm -rf _site
git commit -a -m $1
git push origin gh-pages
git checkout master

0 comments on commit 707827b

Please sign in to comment.