Hello, I am struggling to figure out why the only thing I see on github pages is the readme file.
I have been giving myself a crash course on all this for the last week so excuse my ignorance
I believe that I have the repo set up properly here:
What I am trying to do is add google ad sense tags to the website that the above repo builds. In order to see if any changes I make are working and to give me a sandbox I followed the instructions to publish to a github page here:
However all I see is the readme file. Is this right?
Since this is a working website I was expecting to see a copy of www.eostalk.io Am I completely missing something here?
Thank you in advance for your help!
Solved! Solved! Go to Solution.
Looks like you've got your content in a folder, so your site is sort of available here: https://ironmonkeeeee.github.io/ironmonkeeeee/public/.
If you want that to be your homepage, you will need to move it into the root of the repository instead of that folder. Then you should be all set!
Hope that helps!
Be sure to click Accept as Solution to mark helpful posts to help other users locate important info. Also, don't forget to give Kudos for great content!
Thanks! I actually was able to get that far in all of my tinkering around. Maybe I am just too unskilled to get the full page up there. In all of the tutorials I watched it shows that the index.md file is what was being used to make web pages. I guess my quest now is to find out what other files need to be there as well. I am trying to see where the ad slots will be and how they will display on the page when fully rendered.
Same problem here. I have an index file which I was expecting to be displayed with github pages. But instead just the readme file is shown:
The index file is in the master folder, not a subfolder.
How do I fix this?
Presumably being able to view what you are developing through github is fundamental to the service. Otherwise everyone working on the project has to keep downloading the files, testing them out locally, and then uploading them again. Which would be very slow. So it's a shame this hasn't worked more smoothly.
Also, assuming I can get this to work, how do I get it to work in relation to the branch that I am working on? I have created a new branch for my project, but the only options that I get for github pages are master branch, master branch/docs folder or none. My new branch doesn't appear.
I'm not exactly following you and I'm having the same issue where my project redirects to the Readme file. When I deploy to github pages using ssh and NPM 'gh-pages' it wants me to run an 'npm run deploy' which runs a build script and places files in a build folder. So now there is a 'build' folder, a 'public' folder and with React a 'src' folder as well. So therefore I am able to access this:
but not this:
Please advise on what I need to do to fix. Thank you for your time.