Skip to content

mfenner/vagrant-capistrano-push

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Vagrant Capistrano Push

Deploy or "push" application code in the same directory as your Vagrantfile to a remote server using capistrano.

Installation

vagrant plugin install vagrant-capistrano-push

Usage

# 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

And then

vagrant push production

Or if you are using ENV variables:

# Vagrantfile
config.push.define "capistrano" do |push|
  push.stage = ENV["STAGE"]
end

And then

vagrant push

Contributing

  1. Fork it ( https://github.com/mfenner/vagrant-capistrano-push/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Use vagrant push with capistrano

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages