Heroku没有更新我的代码? [英] Heroku is not updating my code?

查看:108
本文介绍了Heroku没有更新我的代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我在本地进行了一些CSS更改,运行 git add。 git commit -amHello git push heroku master ,由于某些原因,前两次通讯,事情停止更新。



它承诺罚款,并没有显示任何输入与普通。



我试着做新的分支,并将其推送到 heroku 分支,但仍然是nada。

解决方案

尝试在命令行上运行'heroku releases'和'heroku ps'。



heroku发行版应该显示Heroku当前运行的哪个git版本 - 这会让你比较你的本地git版本和Heroku的版本,以确保它实际上已收到您的更新。



接下来,您可能需要检查 heroku ps

最后,如果所有其他的都失败了,请尝试运行 heroku run bash ,然后查看Heroku在Dyno上的文件,如果它不合并 - Heroku支持邮件!


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 commmits ago, things stopped getting updated.

It commits fine, and doesn't show any input out of the ordinary.

I tried making a new branch and pushing it to the heroku branch, but still nada. What gives?

解决方案

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!

这篇关于Heroku没有更新我的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆