【文件属性】:
文件名称:vagrant-capistrano-push:与 capistrano 一起使用 vagrant push
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-27 20:23:27
Ruby
流浪卡皮斯特拉诺推
使用将与 Vagrantfile 相同目录中的应用程序代码部署或“推送”到远程服务器。
安装
vagrant plugin install vagrant-capistrano-push
用法
# Vagrantfile
config . push . define "staging" , strategy : "capistrano" do | push |
push . stage = "staging"
end
config . push . define "production" , strategy : "capistrano" do | push |
push . stage = "production"
end
然后
vagrant push production
或者,如果您正在使用 ENV 变量:
# Vagrantfile
con
【文件预览】:
vagrant-capistrano-push-master
----vagrant-capistrano-push.gemspec(963B)
----locales()
--------en.yml(192B)
----LICENSE.txt(1KB)
----lib()
--------vagrant-capistrano-push.rb(288B)
--------vagrant-capistrano-push()
----Gemfile(263B)
----spec()
--------spec_helper.rb(57B)
--------vagrant-capistrano-push()
----Rakefile(29B)
----README.md(982B)
----.rspec(48B)
----Gemfile.lock(3KB)
----vagrant-spec.config.rb(55B)
----.gitignore(573B)