Score:0

storage:link not working properly while deploying laravel application to elastic beanstalk via codecommit

cn flag

I am using Elastic Beanstalk environment to host my Laravel application.

And I'm using CodeCommit as codesource when I'm deploying.

Lastly, I'm using an init.config file inside .ebextensions folder to automatically run some commands for my EC2 instances.

//init.config inside .ebextensions
container_commands:
    01storagelink:
        command: "php artisan storage:link"

This command is working when I make deployment BUT it is linking the public/storage to an unexpected path (for me) as shown in the picture:

enter image description here

How can I resolve the issue? (I'm going to keep the research in the meantime)

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.