Created
May 21, 2009 15:13
-
-
Save seancribbs/115511 to your computer and use it in GitHub Desktop.
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 :deploy do | |
task :default do | |
run "cd #{deploy_to} && git pull" | |
clear_cache | |
end | |
task :clear_cache do | |
# do something here to clear the cache | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment