推送拒绝未检测到Cedar支持的应用

kha*_*han 0 git heroku

我刚刚注册了heroku并试图在应用程序中添加第一个单个静态html页面.我按照确切的步骤克隆了repo,现在尝试添加该文件,但不断收到此消息:

 !     Push rejected, no Cedar-supported app detected

To git@heroku.com:pak-attacks.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:my-project-saif.git'
Run Code Online (Sandbox Code Playgroud)

任何人都知道发生了什么或需要做什么?非常感谢.

Joh*_*non 6

将您的静态文件重命名为index.php - 它将被检测为PHP应用程序,并且即使您不使用PHP也能正常工作.