Heroku. There was two problems.
First was this message in Terminal:
Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
For the error message, I first it might have been an old or corrupt key(if that’s possible) because when I first signed up for Heroku last week, I was expecting to get a new key and instead I was given one that already existed. Interesting. The first app I wanted to deploy was this node.js one. That’s when I ran into the error above.
Turns out, it’s a very simple fix. Here’s what you do:
ssh-keygen -t rsa
You’ll receive some prompts in your command line. I just left the prompts empty.
You should get a id_rsa key in a id_rsa.pub file. From here, you want to add the key to Heroku to be recognized.
and voila! My problem was fixed and I could deploy the Node app to Heroku.
Now for deploying simple static pages. Turns out that the simplest way to do that is with PHP.
This will require you to change the file name of index.html to something else since the PHP file you will create will be named index.php. Create index.php and enter the following:
<?php include_once("THIS_IS_JUST_AN_EXAMPLE_NAME.html"); ?>
If you are holding your files in a GitHub repo, note that you have to push the changes to GitHub first THEN
git push heroku master
You should see a terminal message stating that Heroku recognizes the files as a PHP app.
I also recommend using Plunker to share your code and its rendering. I used Heroku because I wanted to get familiar with deploying. Now quit wasting time here.