Recompile Heroku slug without push or config change

后端 未结 8 504
無奈伤痛
無奈伤痛 2020-12-02 04:55

I\'m wondering if there is a way to force Heroku to recompile the slug without pushing new commits and/or updating the config variables.

Why would I want to do this?

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 05:25

    Update: heroku repo:rebuild has been removed.

    Heroku has a Build API you can use, see: Building and Releasing Using the API


    You can use the repo:rebuild command if the heroku-repo add-on.

    heroku repo:rebuild -a appname
    

    https://github.com/heroku/heroku-repo

提交回复
热议问题