Commit 951a4eb0 by tady

clear cache after deploy

parent 707fbf63
......@@ -11,6 +11,8 @@
/db/*.sqlite3
/db/*.sqlite3-journal
*.sql
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
......@@ -25,3 +27,6 @@
# secret files
/config/database.yml
/config/settings.yml
/backup
/script/backup.sh
......@@ -57,9 +57,9 @@ namespace :deploy do
after :restart, :clear_cache do
on roles(:web), in: :groups, limit: 3, wait: 10 do
# Here we can do anything such as:
# within release_path do
# execute :rake, 'cache:clear'
# end
within release_path do
execute :rake, 'tmp:clear'
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment