Sunday, November 30, 2014

How to deploy a static HTML site to Heroku

Heroku's Cedar platorm supports today’s most popular and productive languages and frameworks including Ruby, Java, Node.js, Python or Scala. However, you cannot deploy a simple HTML site without getting the following error:

**-----> Heroku receiving push
 !     Heroku push rejected, no Cedar-supported app detected**

Don't panic! All you need to do is to rename your index.html file to index.php and deploy again. It will work!