为什么heroku没有检测到我的python构建?

2024-05-20 00:54:57 发布

您现在位置:Python中文网/ 问答频道 /正文

这是我的回购:https://github.com/amanmibra/me3thx-reddit-bot/tree/deploy-branch

每次我尝试在站点上或通过Heroku CLI部署时,Heroku都无法检测到我的buildpack。在

Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 1.89 KiB | 0 bytes/s, done.
Total 8 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Failed to detect app matching https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/php.tgz buildpack
remote:        More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to me3thx-reddit-bot.
remote:
To https://git.heroku.com/me3thx-reddit-bot.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/me3thx-reddit-bot.git'

我做错什么了?我只把Heroku用于节点.js项目,所以,我可能遗漏了一些python项目所必需的东西。在


Tags: tohttpsgitcomherokuobjectsremotebot