Skip to content

Commit

Permalink
deploy gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
razum2um committed Jun 1, 2014
1 parent 8fa9956 commit 88d929e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/deploy.rake
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ task :prepull do
sh "git clone git@heroku.com:lurker-app.git #{EXAMPLE_APP}"
in_lurker_app "git remote add razum2um lurker@lurker.razum2um.me:~/git"
end
unless File.exists?(File.expand_path("../../#{GH_PAGES}"))
sh "mkdir #{GH_PAGES}"
sh "git --work-tree=#{File.expand_path("../../#{GH_PAGES}", __FILE__)} checkout gh-pages -- ."
end
end

desc 'commits lurker app'
Expand Down

0 comments on commit 88d929e

Please sign in to comment.