before "deploy:setup", :custom_dirs task :custom_dirs, :roles => :app do run "mkdir -p /dir1 /dir2" end
This assumes you wanted to create dir 1 & 2 off of the root and only on the app role. On Aug 25, 2009, at 4:16 PM, gmoniey <[email protected]> wrote: > > I want to create a couple of additional directories when deploy:setup > is executed. Unfortunately, I'm not quite sure how to do that. > > Can someone point me in the right direction? > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
