Permalink
Browse files

triggered cake.cache.clear after deploy

  • Loading branch information...
1 parent b092432 commit 8cf824207d650477f384c0fc99666dd3b0979af5 @damusnet damusnet committed Apr 16, 2011
Showing with 4 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +2 −1 lib/capcake.rb
View
@@ -1,2 +1,3 @@
*.gem*
-pkg/*
+pkg/*
+.DS_Store
View
@@ -113,6 +113,7 @@ def remote_file_exists?(full_path)
transaction do
update_code
symlink
+ cake.cache.clear
end
end
@@ -561,4 +562,4 @@ def remote_file_exists?(full_path)
end
-end # Capistrano::Configuration.instance(:must_exist).load do
+end # Capistrano::Configuration.instance(:must_exist).load do

0 comments on commit 8cf8242

Please sign in to comment.