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

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

问题描述

所以我在本地做了一些 CSS 更改,运行 git add ., git commit -am "Hello", git push heroku master,出于某种原因,两次提交前,事情停止更新.

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.

我尝试创建一个新分支并将其推送到 heroku 分支,但仍然没有.什么给?

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

推荐答案

尝试在命令行上运行 'herokureleases' 和 'heroku ps'.

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

heroku 发布 应该显示 Heroku 当前正在运行的 git 版本——这将让你将本地 git 版本与 Heroku 的版本进行比较,以确保它确实收到 您的更新.

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.

接下来,您可能需要检查 heroku ps,并验证您的应用是否按预期运行.

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

最后,如果所有其他方法都失败了,请尝试运行 heroku run bash,然后查看 Heroku 在您的 Dyno 上的文件,如果没有添加 - 发送电子邮件给 Heroku 支持!

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天全站免登陆