Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
toss this in your ~/.caprc, then `cap cowboy staging deploy`. Use carefully.
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/*"]

jnewland commented Dec 6, 2010

techpickles gemified this up here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment