I\'m running into a weird issue with GitHub pages. I pushed a new commit to my personal pages page maltzj.github.io, but the new article isn\'t showing up there. When I exec
Nothing of this solved it for me. The solution was to edit the index.html file into GitHub website.
Please refer to the Jekyll troubleshooting website, as there are multiple error sources: Troubleshooting Jekyll build errors for GitHub Pages sites
In my case a German umlaut ("ö") in a Markdown file caused the problem.
In the repository settings, make sure the GitHub Pages is currently being built from the gh-pages
branch.
I had an empty CNAME file. Check that if you're having a similar issue.
Solution worked for me for an app created using create-react-app
:
gh-pages branch
to master branch
README.md
filegh-pages
I had tried different solutions, none worked. Like a new commit
, an empty commit
, browser cache clear
, wait for 5 - 10 minutes
, delete gh-pages branch and push again
, edit CNAME
, create a new CNAME under on master branch
etc
Note: My app has no _config.yaml
file, no jekyll
. I'm using custom domain with https (google domains). gh-page
branch auto created by package.json script deploy: "gh-pages -d deploy"
My GitHub Pages was turned off under the Settings tab of the repository.
I don't remember turning it off, but there it was, and turning it back on was the fix.