I'm trying to publish my portfolio, deployment goes through but I get this screen when I try to access my page. Does anyone have any idea what the problem might be?
When i open the link i got this on my screen instead of my portfolio.
If GitHub can't see a index.html file to serve, it will instead server your README.md file as a backup.
Either ensure an index.html file exists in the route of your repository, or select the folder (maybe public or src) that contains the index.htnl file in your repository using the dropdown in the screenshot you attached.
Also, just so you are aware, the repository name has to match your GitHub username in order to get the domain with no sub-directory. From your screenshot, it looks like your GitHub username is m1rzoni, but you have created a repository called mirza.github.io. As mirza is seemingly not your GitHub username, you cannot use mirza.github.io as that is reserved for whoever has the mirza account. This leaves you with three options:
Rename your repository to m1rzoni.github.io and have https://m1rzoni.github.io as your URL
Rename your repository to something else and have https://m1rzoni.github.io/<reponame> as your URL
Change your username to mirza if it is free, or something else, and set the repository name to match, to then have https://<username>.github.io as the URL.
If GitHub can't see a index.html file to serve, it will instead server your README.md file as a backup.
Either ensure an index.html file exists in the route of your repository, or select the folder (maybe
publicorsrc) that contains the index.htnl file in your repository using the dropdown in the screenshot you attached.Also, just so you are aware, the repository name has to match your GitHub username in order to get the domain with no sub-directory. From your screenshot, it looks like your GitHub username is
m1rzoni, but you have created a repository calledmirza.github.io. Asmirzais seemingly not your GitHub username, you cannot usemirza.github.ioas that is reserved for whoever has themirzaaccount. This leaves you with three options:m1rzoni.github.ioand havehttps://m1rzoni.github.ioas your URLhttps://m1rzoni.github.io/<reponame>as your URLmirzaif it is free, or something else, and set the repository name to match, to then havehttps://<username>.github.ioas the URL.Hope that's clear :)