Reputation: 7277
I have just signed up on heroku and trying to add a first, single static html page to the app. I followed the exact procedure to clone the repo and now trying to add the file, but keep getting this message:
! Push rejected, no Cedar-supported app detected
To [email protected]:pak-attacks.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:my-project-saif.git'
Anyone has any idea about what is happening or what needs to be done? Many thanks.
Upvotes: 0
Views: 2726
Reputation: 31
I encounter the same problem while pushing my rails project to heroku.
until I tried to use the following command to create in heroku, then succeed!!! You should try this as well.
"heroku create --stack cedar"
Upvotes: 0
Reputation: 37507
Rename your static file to index.php - it will then be detected as a PHP application and will work fine - even if you're not using PHP.
Upvotes: 6