bchiang7 / v4

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

Deploying to GitHub pages #306

Closed AbhiByte closed 6 months ago

AbhiByte commented 6 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 6 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 6 months ago

Thanks, that worked! Appreciate the help.