What is the best way to deploy large files using git on Heroku?

Viewed 580

I want to use the github deployment on Heroku since I find it very convenient. I have a machine learning web application deployed using Django which involves a model for inference. My problem is:

  1. I do not like to commit large file on git
  2. My model is going to change anyway so I do not want all its versions to be tracked
  3. I do not want to have to clean my git repo with tools like filter-branch

so what it the best way to deploy large file (~60MB) on Heroku using github deployment?

Thanks!

1 Answers

I have uploaded it at build time in the slug.

Related