I'm facing a problem that I don't know how to solve.
Basically, when my app is running live on Heroku, I can upload pictures in the platform: those pictures are saved in a directory of my Angular app : /public/images
.
But then, everytime I update my app like this:
git add .
git commit -m 'my message'
git push heroku master
My pictures in /public/images
just disappears.
Do you know how I could update my app without deleting the pictures? I also tried to pull before, but it tells me that everything is up to date.
PS: To be more specific, it's when I use git push heroku master
to deploy my app that my file /public/images
is removed and replaced.