mardi 10 juillet 2018

Laravel Deployer - Pushing some files in storage directory with my deployment

I am using larvel 5.6 and deploying with deployer and the laravel recipe. My storage directory is shared and the shared/public is writable.

Within my storage directory I have some markdown files that render into my helpdocs and also some placeholder avatar images that are moved from storage to public when a new user is created.

The storage directory appears to be excluded from the deployed files and I get there are good reasons for this. For the files I have placed above, should these even be in the storage directory? If not, where should I put them and if so, how can I configure deployer to push these files to the site on deployment?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire