I had just one commit with all my files. I pushed an empty commit, refreshed the page and it worked.
git commit --allow-empty -m "Trigger rebuild"
git push
If this doesn't work, as @Hendrikto pointed out in the comments, check out the Github status page and make sure GitHub Pages are operational.
Answer from Arnaud on Stack OverflowGitHub Pages deployment is not working
my github page doesn't work
GitHub pages won't show a new post
404 Error with my GitHub Page
Videos
I had just one commit with all my files. I pushed an empty commit, refreshed the page and it worked.
git commit --allow-empty -m "Trigger rebuild"
git push
If this doesn't work, as @Hendrikto pointed out in the comments, check out the Github status page and make sure GitHub Pages are operational.
In my case, I had folders whose names started with _ (like _css and _js), which GH Pages ignores as per Jekyll processing rules. If you don't use Jekyll, the workaround is to place a file named .nojekyll in the root directory. Otherwise, you can remove the underscores from these folders
hello,
first, i want to state that i have absolutely no experience in coding or anything like that. i made a html site from scratch using youtube videos and some articles. it was supposed to be a valentine's day gift for my boyfriend (pics of us and some stories).
i launched the site using the steps from this doc https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages and at first it worked. but i decided to change my site a bit so i deleted the repository and created a new one with the same files with little changes in photos and text.
when i uploaded my first site there was this pop up (photo in post)
but when i deleted the page and did the same over again with the changed site, it didn't pop up and didn't publish. everything is the same in the code, i just changed text and photos. i don't know what to do please help
Hey there! Hoping someone might help me out with my repository. I'm new to this, but I'm getting a 404 file not found error and I can't figure out why. I'm under the impression that all I need is to have the html file in the root file. I have no idea what to do otherwise.
https://github.com/cjwilliams1989/thunderawardonlineform
Try to push an empty commit and refresh the page. It should work.
git commit --allow-empty -m "Trigger rebuild"
git push
I'm not sure if the site just needed some time to show up, but I was getting a 404 error after pushing my master branch... Then I changed my 'theme' in the repo's settings. All of a sudden it started working! A file called config.yml appeared with the theme metadata.