最终,我设法在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.
Theres a way to do it automatically to keep just the last 2 or 3 releases?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.