Running a seeds file when creating a Heroku App?

Is there any way to run a seeds file when deploying to heroku ?
I can’t seem to find any good answers.

Are you able to seed your database locally? If so, you’ll most likely be able to run the same command on heroku.

You can do this directly from your local terminal (heroku run ...), or from a terminal inside Heroku’s web GUI.

The exact command will depend on which language/environment you’re using.