Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github page not showing my index.html file

I am new to github pages so I made the following repo with a simple index.html https://github.com/jigneshjain25/jignesh.github.com/blob/gh-pages/index.html

but http://jignesh.github.com/ shows "Hello World" only. Why its not using my index.html file?

like image 600
Jignesh Avatar asked Dec 08 '12 12:12

Jignesh


People also ask

Why is GitHub not showing my website?

To get your site working again you'll need to make sure your repository is set to public again, head to the repository settings page, make sure that GitHub Pages is enabled, then push a fresh commit to your repository.

Why GitHub Pages is not showing in settings?

Under your repository name, click Settings. In the "Code and automation" section of the sidebar, click Pages. Under "GitHub Pages", select the GitHub Pages visibility drop-down menu, then click a visibility. To see your published site, under "GitHub Pages", click your site's URL.


1 Answers

You're not publishing to the master branch, but the gh-pages branch, yet you are trying to deploy a user page. Also it needs to be http://jigneshjain25.github.com because that's your username.

https://help.github.com/articles/user-organization-and-project-pages

The account that controls that Hello World has been set-up properly, here:

https://github.com/jignesh/jignesh.github.com/blob/master/index.html

like image 92
Philip Whitehouse Avatar answered Nov 22 '22 14:11

Philip Whitehouse