Skip to content

Commit

Permalink
Make doc:gh_pages push to github
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Feb 8, 2009
1 parent 3d84f57 commit ca3c59f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ end
namespace :doc do
task :gh_pages => :doc do
`mv doc doctmp`
`git checkout gh-pages`
`git pull`
`git checkout -b gh-pages-tmp origin/gh-pages`
`rm -rf doc`
`mv doctmp doc`
`git add doc`
`git commit -m "Update API docs"`
`git push origin gh-pages`
`git checkout master`
`git branch -D gh-pages-tmp`
end
end

Expand Down

0 comments on commit ca3c59f

Please sign in to comment.