Created
April 26, 2012 18:34
-
-
Save medlefsen/2501748 to your computer and use it in GitHub Desktop.
capistran-drush config example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'capistrano-drush' | |
# Defaults to deploying the current directory. Uncomment and modify below to customize | |
# set :scm, :git | |
# set :repository, "MY REPO" | |
# set :makefile, "distro.make" | |
# Set target to a drush alias to deploy to it. The @ is optional. Can also be supplied via TARGET=@dev on command line | |
# Use drush group aliases or a comma separated list of aliases to deploy to multiple servers at once | |
# set :target, "@dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "http://rubygems.org" | |
gem 'capistrano-drush', :git => 'git://github.com/xforty/capistrano-drush.git' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To setup run "bundle exec cap deploy:setup"
Then run "bundle exec cap deploy"
Optionally set the target with "bundle exec cap deploy TARGET=dev"