You cannot deploy static websites like this one on Heroku as each app must run through a build process. The solution to this is that you trick Heroku into thinking that your static website is simply a PHP app.
Configuration steps
-
You need to add two files to your project directory.
composer.json
index.php
touch composer.json index.php
-
Add the following line to index.php
<?php include_once("index.html"); ?>
This is assuming that you have a file named index.php in your project directory, else name it to your initial website file. -
Add the following line to composer.json -
{}
Heroku uses the file composer.json for dependency management in PHP projects. This files indicates that your project is written in php and thus is required
Publish your changes to the branch that Heroku is watching for deployments and your build should now pass.
If you followed the inital steps while setting up your heroku account you should be fine.
Of course a better option to host static websites is Github Pages