lib/capistrano/templates/config/deploy.rb in capistrano-wp-0.4.6 vs lib/capistrano/templates/config/deploy.rb in capistrano-wp-0.4.7
- old
+ new
@@ -22,5 +22,19 @@
# Housekeeping
# clean up old releases on each deploy
set :keep_releases, 5
after "deploy:create_symlink", "deploy:cleanup"
+#=============================================================================
+# Additional Project specific directories
+
+# Uncomment these lines to additionally create your upload and cache
+# directories in the shared location when running `deploy:setup`.
+#
+# Modify these commands to make sure these directories are writable by
+# your web server.
+
+# after "deploy:setup" do
+# ['uploads', 'cache'].each do |dir|
+# run "cd #{shared_path} && mkdir #{dir} && chgrp www-data #{dir} && chmod 775 #{dir}"
+# end
+# end