【发布时间】:2018-06-28 21:58:32
【问题描述】:
我有一个 Jekyll 博客,可以使用 bundle exec jekyll serve 在本地构建,但无法在 Github 页面上构建。我分叉了一个theme,然后是setup instructions,但无法弄清楚问题所在。
错误信息没有提供任何详细信息:
The page build failed for the `master` branch with the following error:
Page build failed. For more information, see https://help.github.com/articles/troubleshooting-github-pages-builds/
.
For information on troubleshooting Jekyll see:
https://help.github.com/articles/troubleshooting-jekyll-builds
我查看了他们的每一个建议,但似乎没有一个适用于我的情况。
我的帐户和电子邮件已经过验证,并且我已经建立了其他几个 Github 页面,没有任何问题。
我使用的唯一插件是:
gems:
- jekyll-sitemap
- jekyll-paginate
- jekyll-gist
- jekyll-feed
都是官方支持的。
repo 中的所有文件大约为 9 MB,远低于 1 GB 的限制。
_config.yml 中没有覆盖 source。
我是从 master 分支构建的,所以它与丢失的 /docs 文件夹无关。
我不相信我在使用任何子模块。
我尝试将 _config.yml 中的 URL 留空,将其设为 https://<user_ID>/<repo_name>/,并将其设为 https://<user_ID>/,baseurl 为 <repo_name>/,但均无效。
我可以尝试找出问题所在?
【问题讨论】:
-
任何存储库网址?
-
尝试在 Gemfile 中仅使用
gem 'github-pages'进行本地调试。提要插件有问题。我的建议是找到另一个更简单的主题,这个主题远非完美。
标签: github jekyll github-pages