re: GitHub Actions - Deploy to Heroku VIEW POST


Thanks for sharing this, Mike! Been experimenting with GitHub Actions lately, but wasn't able to figure out how to deploy to Heroku. Also nice to see the cache action. That will speed up builds dramatically.

In case anyone wonders how to run database migrations as part of your deployment process, you can simply add the following to your Procfile: release: bin/rails db:migrate. Heroku will then take care of it for you. (docs)

Alternatively, you could probably use the Heroku action, but the above feels much simpler.

Code of Conduct Report abuse