-
Notifications
You must be signed in to change notification settings - Fork 131
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
Incorrect storage link #43
Comments
Does the symlink gets overwritten if it's run both in the deployment process and after the deployment finishes? I'm thinking about just adding a new .sh file to the |
The first output was generated using the container_command after deployment succeeded. So we can see, it is still referring to the Having it as a container_command in
|
I assume that the public folder symlink is not needed in the deployment process by any means, right? |
I have tagged v2.8.1 |
Ideally, it shouldn't be since deployments would purge the storage folders but in the case if someone has a custom setup where they do use the storage folder, the symlink might be required. |
Running
php artisan storage:link
under/var/app/staging
creates a link to thestaging
folder once the application is deployedInstead, running it as a
postdeploy
hook via a script generates the correct symlinkThe text was updated successfully, but these errors were encountered: