public
Last active

toss this in your ~/.caprc, then `cap cowboy staging deploy`. Use carefully.

  • Download Gist
.caprc
1 2 3 4 5 6 7 8 9 10 11 12
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.