GitHub pages are not updating

后端 未结 30 2308
[愿得一人]
[愿得一人] 2020-12-04 15:22

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

相关标签:
30条回答
  • 2020-12-04 15:27

    Nothing of this solved it for me. The solution was to edit the index.html file into GitHub website.

    0 讨论(0)
  • 2020-12-04 15:27

    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.

    0 讨论(0)
  • 2020-12-04 15:27

    In the repository settings, make sure the GitHub Pages is currently being built from the gh-pages branch.

    0 讨论(0)
  • 2020-12-04 15:28

    I had an empty CNAME file. Check that if you're having a similar issue.

    0 讨论(0)
  • 2020-12-04 15:28

    Solution worked for me for an app created using create-react-app :

    1. Go to GitHub Pages section under repository settings
    2. Change source from gh-pages branch to master branch
    3. Wait and check your custom domain website, should show master branch README.md file
    4. Now change the source back to gh-pages
    5. Wait couple minutes, now latest changes reflected on custom domain website

    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"

    0 讨论(0)
  • 2020-12-04 15:29

    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.

    0 讨论(0)
提交回复
热议问题