[英]Rubber: How to upload just some html.erb files into a running instance on Amazon aws ec2
最终,我设法在Amazon ec2中部署了该应用程序,它运行正常,但是现在我只需要上传一些新的html.erb文件,我该怎么做?
cap deploy:upload FILES=foo1.html.erb,foo2.html.erb
Will do the trick, but it'll always create a copy from your current app inside release folder, so for each update all application will be cloned. 可以做到这一点,但是它将始终从当前应用的release文件夹中创建一个副本,因此对于每次更新,所有应用都将被克隆。
Theres a way to do it automatically to keep just the last 2 or 3 releases? 有没有一种方法可以自动保留最近的2或3个版本?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.