Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
razum2um committed May 13, 2014
1 parent 272e80f commit 6d957f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ task :build_example_docs => :features do

in_lurker_app "bin/lurker convert -f pdf -o html"

if File.exists? '../../gh-pages'
in_lurker_app "cp -R html/* ../../gh-pages"
if File.exists?(pages = File.expand_path('../gh-pages', __FILE__))
in_lurker_app "cp -R html/* #{pages}"
end
end

Expand Down

0 comments on commit 6d957f4

Please sign in to comment.