Skip to content

Commit

Permalink
Add reapfile with publishing task. [admin]
Browse files Browse the repository at this point in the history
  • Loading branch information
trans committed Oct 2, 2011
1 parent 97ba692 commit 2c6a47d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Reapfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env ruby

# Reapfile, primarily for publishing the project
# to it's GitHub gh-pages website.
#
# The publish task uses the detroit-github plugin
# from the Detroit project.

trip 'publish' do
require 'detroit'
require 'detroit-github'

github = Detroit::GitHub.new(
:sitemap => {
'index.html' => 'index.html',
'doc.json' => 'doc.json',
'assets' => 'assets'
}
)
github.publish
end

0 comments on commit 2c6a47d

Please sign in to comment.