Heroku is not updating my code?

后端 未结 12 1207
闹比i
闹比i 2020-12-15 23:33

So I did some CSS changes on my local, ran git add ., git commit -am \"Hello\", git push heroku master, and for some reason two commmi

12条回答
  •  一整个雨季
    2020-12-16 00:08

    If your code is correctly deployed as shown from heroku releases, you can try to purge the cache and force a fresh build. See https://help.heroku.com/18PI5RSY/how-do-i-clear-the-build-cache

    $ heroku plugins:install heroku-repo
    $ heroku repo:purge_cache -a appname
    

    The cache will be rebuilt on the next deploy.

    $ git commit --allow-empty -m "Purge cache"
    $ git push heroku master
    

提交回复
热议问题