Created
November 15, 2017 03:52
-
-
Save bryanleetc/06375a6c97cb9d48b64d35f2a56ef5a3 to your computer and use it in GitHub Desktop.
A rake task to type less when deploying a Rails app via Capistrano
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 :app do | |
task :deploy, [:id] => :environment do |t, args| | |
system("bundle exec cap production deploy") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment