Reputation: 8091
If I have files not tracked by any VCS, say for example jquery plugin files, how do I make Capistrano work with them?
Can I just upload them manually to the "shared" folder? or does Capistrano automatically handle "non-VCS-ed" files?
Thanks in advance!
Upvotes: 1
Views: 165
Reputation: 5791
You can copy arbitrary files with capistrano via scp like this:
task :copy_files do
top.upload('path/to/files', "#{shared_path}", {:via => :scp, :recursive => true})
end
Upvotes: 1