- Replace
index.html
with the page you want to host - Download the Heroku CLI
$ heroku create
$ heroku config:set USERNAME=<something> PASSWORD=<something else>
$ git push heroku master
$ heroku open
asross/static-basic-auth-template
stub repository for hosting static pages behind basic auth on heroku
Ruby