Recompile Heroku slug without push or config change

后端 未结 8 473
無奈伤痛
無奈伤痛 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:45

    Slug compilation is invoked with a git pre-recieve hook, so the only way to recompile is to push a new commit.

    For completeness see this article on Heroku for the slug compiler. It discussed the use of the pre-recieve hook to invoke the slug compile process under the Compilation heading.

    0 讨论(0)
  • 2020-12-02 05:52

    Looks like this is not yet available. However, a feature request has be opened on the heroku github repo

    It also mentions "an alternate way to build that is not reliant on git push"

    https://github.com/ddollar/heroku-anvil

    0 讨论(0)
提交回复
热议问题