Skip to content

Commit

Permalink
Update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Feb 13, 2009
1 parent c9f084c commit a2b9377
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Expand Up @@ -50,11 +50,13 @@ namespace :doc do
mv 'doc', 'newdoc'
on_gh_pages do
if doc_changed_sha?('newdoc', 'doc')
puts "doc has changed, pushing to gh-pages"
`rm -rf doc && mv newdoc doc`
`git add doc`
`git commit -a -m "Update API docs"`
`git push`
else
puts "doc is unchanged"
rm_rf 'newdoc'
end
end
Expand Down

0 comments on commit a2b9377

Please sign in to comment.