Reputation: 21
I created a repository in GitHub and then a new folder in that repository. I uploaded the necessary files (index.html, style.css and an image) in this folder. But whenever I tried to publish my webpage, I couldn’t.
Although there is no problem to publish it directly from the repository (without having another folder), when I try to publish it from the folder in a repository, I see the content of the "readme" in the browser. How can I solve this problem?
Upvotes: 2
Views: 110
Reputation: 1323075
The publishing source for a GitHub pages project is by default a branch.
Make sure to select your folder if you want to publish it from a directory:
But that folder might be limited to "docs/
"
Upvotes: 1