404 error, index.html is in /dist

I get a 404 on my GitHub page built from the master branch. It says the index.html is missing. My project has a /dist subfolder which has the index.html. Is this why I get a 404? If so, is there a work around? Thanks in advance.

Github pages can only be published from master, gh-pages branch, or /docs.

Try creating a branch called gh-pages using your /dist folder, using this article.