Github page build failure

限于喜欢 提交于 2020-01-03 19:52:06

问题


I am creating my website on github page, I am not using jekyll or any of its kind, it's just pure javascript and html css. Why sometime it gives page build failure? what it is building then?


回答1:


By default in a github repository, the gh-pages branch is build with Jekyll.

If you have underscored folders (eg: _myfolder) Jekyll tries to build. If they are not real Jekyll folders, this breaks the build.

If you don't want to process you html/js code, add a .nojekyll file at the root of your code. Github will then not try to build, it will just serve your pages as is.

More info in Github pages doc



来源:https://stackoverflow.com/questions/25262183/github-page-build-failure

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!