example?
Are there any instructions on how to use capistrano-copy-files to, for example, pre-copy a composer-installed vendors directory into the new release?
@alister Sorry for the lack of documentation - something I will try and fix tonight
:+1: A simple example would be very helpful.
ping @peterjmit
Any updates on a working example @peterjmit ? Using
set :copy_files, ['vendor']
Seems to copy the files to release_path/vendor/vendor. The problem seems to be in these two lines:
source = last_release_path.join(path)
target = release_path.join(path)
If I change the target not to add the path to the release_path as such
target = release_path
The vendor directory ends up in the right place.
does this work?? Are there any examples of how a generic vendors directory would in fact be configured in a capistrano3 config/deploy.rb file, to be copied?