Delete and Redeploy Rails app to heroku

前端 未结 2 683
温柔的废话
温柔的废话 2021-01-29 23:27

I have a rails app that is deployed to Heroku. I recently made a ton of changes, deleted old migrations, recreated new migrations, rebased and dealt with merge conflicts....the

2条回答
  •  隐瞒了意图╮
    2021-01-30 00:04

    Destroy the app:

    heroku apps:destroy --app example
    

    Create a new one:

    heroku create example
    

    Push to it:

    git push heroku -u master
    

提交回复
热议问题