bchiang7 / v4

Fourth iteration of my personal website built with Gatsby
https://v4.brittanychiang.com/
MIT License
7.61k stars 3.79k forks source link

Deploying to GitHub pages #306

Closed AbhiByte closed 10 months ago

AbhiByte commented 10 months ago

When I deploy to GitHub pages, it renders README.md instead of the website. Any one else encountering this problem and how to fix it?

Running locally works fine.

nachatra-sharma commented 10 months ago

Consider moving your web content into the root of your repository and renaming your default page to index.html, depending what type of file it is. (By convention the default page of most websites is called index.html, and this is what GitHub Pages will show by default if it exists.)

so try to do this if it doesn't solve your error do share some screenshot that will help me to know the actual reason behind it.

AbhiByte commented 10 months ago

Thanks, that worked! Appreciate the help.