A
A
Artemy Zebzeev2017-03-17 06:15:37
JavaScript
Artemy Zebzeev, 2017-03-17 06:15:37

How to save some files when automatically deploying to heroku?

After autocommit on Heroku, all image files that were uploaded to the server disappear. I understand that heroku first cleans everything during a commit, and then deploys it again.
Question: is it possible to somehow exclude the folder with image files so that they remain in their place when committing.
Ps It is not possible to store images in a github repository. The filename is bound to an object in the database. The bases on the local machine and on Heroku are different.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question