Created
August 21, 2010 17:44
-
-
Save jnewland/542617 to your computer and use it in GitHub Desktop.
toss this in your ~/.caprc, then `cap cowboy staging deploy`. Use carefully.
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
namespace :cowboy do | |
desc 'Deploy without SCM' | |
task :default do | |
deploy_stage = fetch(:stage, 'none') | |
set :repository, "." | |
set :deploy_via, :copy | |
set :scm, :none | |
set :stage, deploy_stage | |
set :cowboy_deploy, true | |
set :copy_exclude, [".git/*", ".svn/*", "log/*", "vendor/bundle/*"] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
techpickles gemified this up here:
https://github.com/railsmachine/capistrano-cowboy