We really wanna go rolling with Envoyer and enjoy zero-downtime deployments.
However, due to some limitations by our clients, all their assets/files/images must be within hidden files.
Which we've done and it's placed within "app/storage/upload/*"
These files are excluded from GIT Control due to the size of the directory, it's getting massive.
My issue is that i don't know how to automate the moving of this folder/cloning as we use Envoyer for Deployment? As those files won't be accessible when Envoyer switches active code-base when it's done.
I would prefer it being done automaticly, but i'm open to suggestions.
So that script will symlink the actual folder (Which is outside the application scope), to being inside the storage folder?
That's not a bad solution really.
Will have to work out, how to manage the re-linking after the deploy process has finished. Not sure if you can set up "post-process commands" to be run.
But by deleting the storage/files, won't it delete the "s3/files" too, or does it only remove the symlink?