-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle uploads files ? #125
Comments
You can set it as share folder in deploy.php: public function configure()
{
return $this->getConfigBuilder()
// ....
->sharedFilesAndDirs(['public/uploads'])
;
} After deploy to server, you have two choice:
so next time you can just deploy a new release without worrying the uploads folder. |
Hello, I am using easy-deploy-bundle in my project, and recently I added file upload to my website. So I store files under current/public/uploads directory. But when I deploy a new release of my projects, I loose all of the files under the current/public/uploads directory (since easydeploy creates a new one). Is there an option which handles this case ?
Thanks in advance
The text was updated successfully, but these errors were encountered: