Skip to content

Commit

Permalink
Add tmp to shared
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel committed Apr 9, 2015
1 parent 6deff02 commit b50bece
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
# They will be linked in the 'deploy:link_shared_paths' step.
set :shared_paths, ['config/database.yml', 'config/application.yml', 'config/secrets.yml', 'log', 'public/gallery', 'en.pak', 'sphinx', 'public/system']
set :shared_paths, ['config/database.yml', 'config/application.yml', 'config/secrets.yml', 'log', 'tmp', 'public/gallery', 'en.pak', 'sphinx', 'public/system']

# This task is the environment that is loaded for most commands, such as
# `mina deploy` or `mina rake`.
Expand All @@ -31,6 +31,9 @@
queue! %[mkdir -p "#{deploy_to}/shared/log"]
queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/log"]

queue! %[mkdir -p "#{deploy_to}/shared/tmp"]
queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/tmp"]

queue! %[mkdir -p "#{deploy_to}/shared/config"]
queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/config"]

Expand Down

0 comments on commit b50bece

Please sign in to comment.