Capistrano cowboy deploys
Sometimes, you just need to shoot from the hip…or deploy your local changes without committing them. Put this snippet from Jesse Newland in ~/.caprc
and now you can cap cowboy deploy
:
namespace :cowboy do
desc 'Deploy without SCM'
task :default do
set :repository, "."
set :deploy_via, :copy
set :scm, :none
set :stage, fetch(:stage, 'none')
set :cowboy_deploy, true
set :copy_exclude, [".git/*", ".svn/*", "log/*", "vendor/bundle/*"]
end
end
This content is open source.
Suggest Improvements.