Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有任何 VCS 未跟踪的文件,例如 jquery 插件文件,我如何让 Capistrano 使用它们?
我可以手动将它们上传到“共享”文件夹吗?还是 Capistrano 会自动处理“非 VCS-ed”文件?
提前致谢!
您可以通过 scp 使用 capistrano 复制任意文件,如下所示:
task :copy_files do top.upload('path/to/files', "#{shared_path}", {:via => :scp, :recursive => true}) end