GitHub pages are not updating

后端 未结 30 2297
[愿得一人]
[愿得一人] 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:40

    For me, I just waited ~5 minutes, and it was updated.

    If someone has made the branch gh-pages from scratch (manually) the problem is that you need a file call params.json to make it work.

    I don't have this params.json file, but it still works...

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

    I got it to work. Mine was a simple problem. It was a browser cache problem.

    I opened my link on a different browser and it showed me the updated push.

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

    In my case, I forgot to define kramdown in _config.yaml

    # Build settings
    markdown: kramdown
    

    This was caused when I was converting from a theme without to a theme with the kramdown requirement.

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

    In my case, after trial and error on some solutions here, what fixed it was adding the encoding to the _config file like this

    encoding: UTF-8
    

    More troubleshooting options here

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

    I know this might sound simple, but make certain you are on the right branch and in the right file.

    In my case, I made a GitHub page and tried to commit from my local repository on the master branch. Also, I was updating my filename instead of index.html. These were my errors. I had to switch to the GitHub page branch and update in the index.html commit, push and then everything worked fine.

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

    In my case the problem was because of my repository was private. After I made it public, the problem has gone.

    The weird part of story is that I was able to create private repository and use GitHub pages with it. I did it in accordance with the official guide (http://take.ms/p2SS7). It worked fine for about 9 commits, but on the 10-th it became broken.

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