Created
May 1, 2014 09:07
-
-
Save seenmyfate/ef12494acd4a0e330613 to your computer and use it in GitHub Desktop.
More verbosity on specific Cap v3 tasks
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
task :debug do | |
SSHKit.configure { |config| config.output_verbosity = :debug } | |
end | |
task :reset_log_level do | |
SSHKit.configure { |config| config.output_verbosity = fetch(:log_level) } | |
end | |
before 'deploy:migrate', 'debug' | |
after 'deploy:migrate', 'reset_log_level' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment