doc/pages/packaging.textile in vic-buildr-1.3.3 vs doc/pages/packaging.textile in vic-buildr-1.3.4
- old
+ new
@@ -382,10 +382,10 @@
If you need to upload other files, you can always extend the @upload@ task and use @repositories.release_to@ in combination with @URI.upload@. You can also extend it to upload to different servers, for example, to publish the documentation and test coverage reports to your site:
{{{!ruby
# We'll let some other task decide how to create 'docs'
-task 'deploy'=>'docs' do
+task 'upload'=>'docs' do
uri = URI("sftp://#{username}:#{password}@var/www/docs")
uri.upload file('docs')
end
}}}