Hi,
I am developing a sports website where we have multiple coaches and players. I am working on images upload using livewire which is working perfectly. The system is connected to github. So, whenever I push any code. The storage link disconnects and I have to run php artisan storage:link after every push otherwise it does not connect to images on upload.
Any idea why this happens? or any way to fix this.
Thanks
@Sinnbeck Cloudways is connected to my github and accessing the directory using SSH key.
I just use this pull button and fetches all the code from github. https://ibb.co/0Y3TK61
Hi,
Currently, I'm working with git projects to Cpanel. I have several problems. I solved all of them and I got this problem too.
#Go to your local project root dir, find the .gitignore file, and edit it. One of my project .gitignore file. u can modify this file. and make sure delete .gitignore files from particular folders.
@SagorIslam I removed the .gitignore file from main directory and completely moved project but still same issue.
there are alot of gitignore files inside other folders. Do you know a specific one I should remove?
@sajjad566 hi, first remove #/public/storage from .gitignore file(if it still here). check public->storage[delete-> .gitignore file]. after that push ur codes again and check the result. make sure run these links: