When I attempt to deploy on GitHub all I can see is the Readme file

Viewed 42

I am trying to deploy my project on GitHub, and every time it's either a 404 error when I switch it to Docs/, or it only shows the README file.

I am uploading it on the GitHub website.

How can I see my site content?

1 Answers

Double-check your Publication sources for your GitHub Pages.

  • select the main branch
  • select the docs folder

https://docs.github.com/assets/cb-72858/images/help/pages/publishing-source-folder-drop-down.png

Then you won't have to "switch" to docs/ when visiting http(s)://<username>.github.io (for a user site) or http(s)://<username>.github.io/<repository> for a project site, depending on the name of your GitHub repository (<username>.github.io or just <repository>)

Related