You can move this directory to the shared directory and symlink to it
everytime you deploy, works very well. Something like this:

namespace :deploy do
  task :create_symlinks, :roles => :app do
   run <<-CMD
    rm -rf #{release_path}/public/image_files &&
    ln -nfs #{shared_path}/image_files #{release_path}/public/image_files
   CMD
  end
end

after "deploy:symlink", "deploy:create_symlinks"

Gr,
Andy

On 8/14/07, fernando <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Does anone know of a way to leave a folder alone when using 'cap
> deploy'? I have a folder in my public_html folder that I upload images
> to. Everytime I cap deploy this gets erased and I have to upload all
> the images again. How can I exclude it so capistrano doesnt go near
> it?
>
> cheers
>
> Tim
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to