如何使用完全不同的应用程序强制部署到Heroku的master分支?

时间:2020-04-10 21:26:29

标签: git heroku git-push heroku-cli

在过去的几个月中,我一直在使用Vue.js在自己的投资组合网站上工作,但随后在Nuxt.js中为SEO重建了该应用程序。现在,我试图将我的新项目强行推到Heroku的master分支上,但是它一直拒绝我执行以下操作:

! [remote rejected] testing -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/omars-portfolio-site.git'

据我所知,存储库中没有应用任何Web钩子,因此这必须是默认设置。

这就是它的样子吗? git现在不相信我会做出非常糟糕的决定吗?

我正在运行git push -f heroku master。

0 个答案:

没有答案