简体   繁体   English

Github Pages组织博客未运行jekyll build

[英]Github pages organization blog doesn't run jekyll build

so, I have this github organization with its blog powered by Jekyll. 因此,我有这个github组织,其博客由Jekyll支持。

https://github.com/AvoGenie/avogenie.github.io https://github.com/AvoGenie/avogenie.github.io

I would like github to run jekyll build on every commit, however currently it isn't doing it. 我希望github在每次提交时都运行jekyll build ,但是目前它没有这样做。

How can I fix this? 我怎样才能解决这个问题?

Any help is appreciated. 任何帮助表示赞赏。

Kind Regards, Adrian 亲切的问候,阿德里安

PS: I checked google and stackoverflow but I couldn't find anything that helps me, because all guides and tutorials and docs just say, 'push to github'. PS:我检查了google和stackoverflow,但找不到任何对我有帮助的东西,因为所有指南,教程和文档都说“推送到github”。

Your site seems fine to me, looking at the commits you currently have on the Github repository (latest commit on master right now = 14ca1e5). 对于我来说,您的站点看起来不错,请查看您当前在Github存储库中的提交(当前master上的最新提交= 14ca1e5)。

What is different from what you expect? 与您期望的有什么不同?

avogenie.github.io

So, turns out when I updated the repo I accidentally deleted the CNAME file that githubs needs in order to work with custom domains. 因此,事实证明,当我更新存储库时,我不小心删除了githubs为了使用自定义域而需要的CNAME文件。

Two learnings from this: 从中可以得出两个教训:

  • Check whether you have a CNAME file when getting a 404 error on a custom domain with github pages 在带有github页面的自定义域上收到404错误时,检查是否有CNAME文件
  • Also test the default username .github.io when deploying to github pages 部署到github页面时还要测试默认用户名 .github.io

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM