Push to Heroku
Assuming you have already set up and renamed your heroku remotes, use these to push to staging and production:
Push to Staging
In cases where we have a staging
branch that we want to push to the staging app on heroku, use this command instead:
To migrate db on staging (if migration isn't already included in the deploy process automatically:
Push to Production
Run rake tasks (if any)
If a rake task was created for this push (for example task_name.rake), then run it on heroku like this:
On staging:
On production:
PreviousHerokuNextCan't push to heroku. Updates were rejected because the remote contains work you dont have locally
Last updated