Glad you were able to get things working, the flow (as you have seen) does
not document *every* hook, as the list is simply unreasonably long, if you
feel the docs could be improved they are hosted at GH and we would be glad
of any contribution you might make.

Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667

On 9 July 2015 at 22:51, Chiel Kunkels <[email protected]> wrote:

> Alright, just been through the source code, and it appears that :after
> :'deploy:starting'` is too late since during `deploy:starting`,
> linked_files and linked_dirs are already checked. So, I'm now using the
> after :'deploy:check:directories'` hook, which was not clearly documented
> here: http://capistranorb.com/documentation/getting-started/flow/
>
> Great success.
>
> On Thursday, 9 July 2015 22:34:56 UTC+2, Chiel Kunkels wrote:
>>
>> Hi all,
>>
>> I am using the `set :linked_files` to set a file I want symlinked into
>> every release, however the file that needs to be linked is uploaded in the
>> course of the deployment.
>>
>> However, when doing a cold deploy, it appears that the `linked_files` are
>> being symlinked before the files are being uploaded.
>>
>> So, I am wondering what the best time is to be uploading these files to
>> the server? At the moment I am using the `after :'deploy:starting'` hook,
>> but that doesn't seem to be early enough, however it feels to me like I
>> can't do it before then either because the directory structure will not
>> have been created.
>>
>> Any suggestions are very welcome!
>>
>> Cheers,
>> Chiel.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/capistrano/db41e240-2738-4f64-a3b7-93ed7a939110%40googlegroups.com
> <https://groups.google.com/d/msgid/capistrano/db41e240-2738-4f64-a3b7-93ed7a939110%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/CAN_%2BVLXfLkpZhbF05y981PXSCF%2BfUwkUtoCHj5wY%3D1L8cz1i%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to