Permalink
Browse files

Fix bad path

  • Loading branch information...
1 parent 969d6a3 commit d41d8b51213bf755b9f236eda1d18f0c24840c6d @aslakhellesoy aslakhellesoy committed Jun 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 dev_tasks/yard.rake
View
@@ -10,7 +10,7 @@ end
desc "Push yardoc to http://cukes.info/cucumber-rails/api/#{CUCUMBER_RAILS_VERSION}"
task :push_yard => :yard do
sh("tar czf tmp/api-#{CUCUMBER_RAILS_VERSION}.tgz -C doc .")
- sh("scp tmp/api-#{CUCUMBER_RAILS_VERSION}.tgz cukes.info:/var/www/cucumber-rails/cucumber-rails/api")
+ sh("scp tmp/api-#{CUCUMBER_RAILS_VERSION}.tgz cukes.info:/var/www/cucumber-rails/api")
sh("ssh cukes.info 'cd /var/www/cucumber-rails/api && rm -rf #{CUCUMBER_RAILS_VERSION} && mkdir #{CUCUMBER_RAILS_VERSION} && tar xzf api-#{CUCUMBER_RAILS_VERSION}.tgz -C #{CUCUMBER_RAILS_VERSION} && rm -f latest && ln -s #{CUCUMBER_RAILS_VERSION} latest'")
end

0 comments on commit d41d8b5

Please sign in to comment.