I want to prevent specific folders from being replaced in every deployment? Consider the directory structure below:
-- /.ebextensions
-- /app
-- /database
-- /public
I'm using AWS CodeCommit and EB CLI for my PHP application and every time I run eb deploythese files & directories are being replaced, so I want to exclude the /public/images directory so that the previous images that have been uploaded would still be there after a newer version has been deployed.
I've been digging on their documentation all week, but can't find any possible solution.Is this something possible with Elastic Beanstalk? Or any alternative suggestions for deployment in AWS will be very much appreciated. Thanks in advance!