Heroku is not updating my code?

Make sure your local branch is master. If you're using a different local brach then you have to use.

git push heroku your_local_branch_name:master

Try running 'heroku releases' and 'heroku ps' on the command line.

heroku releases should show you which git version Heroku currently has running -- this will let you compare your local git revision to the one Heroku has, to ensure it actually received your updates.

Next, you might want to check heroku ps, and verify your app is running as expected.

Lastly, if all else fails, try running heroku run bash, and looking at the files Heroku has on your Dyno, if it doesn't add up -- email Heroku support!


If your domain uses Cloudflare DNS, try to "Purge Cache" from the Cloudflare account.

Tags:

Git

Heroku