Created
December 13, 2010 20:10
-
-
Save donnoman/739524 to your computer and use it in GitHub Desktop.
capistrano.rb
This file contains hidden or 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
| before "deploy:update_code", "deploy:clear_release_path" | |
| namespace :deploy do | |
| desc "Clear the release_path for a new checkout" | |
| task :clear_release_path, :roles=>[:app] do | |
| run "rm -rf #{release_path}" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment