Automatically precompile assets before pushing to Heroku

后端 未结 5 1243
醉酒成梦
醉酒成梦 2021-02-04 15:15

Is it possible to automatically precompile my assets in a Rails app before pushing out to Heroku? I always forget to do it, so it would be nice if when I typed git push he

5条回答
  •  庸人自扰
    2021-02-04 15:39

    I've created a gem that run as daemon and automatically pull changes from a Git repo, precompiles assets, commit and push back.

    https://github.com/nectify/rails-precompile2git/

提交回复
热议问题