问题
I've got a blog hosted on github using jekyll bootstrap. It's been working for a while now, but the last new times I've tried to post a new blog page it's failed the pushed to github:
The page build failed with the following error:
page build failed
For information on troubleshooting Jekyll see https://help.github.com/articles/using-jekyll-with-pages#troubleshooting If you have any questions please contact GitHub Support.
I've tried deleting the recent posts I've added so that I'm consistent with the "live" version, and I've run jekyll --safe
locally (no issues). I can run jekyll --server
and run the site locally and all is fine, but when I push it, no joy. I've removed my jekyll gems and its dependencies, and re-added using the versions that match the versions being used by github, and no joy there either.
Before I revert to deleting the entire blog and starting it again, can anyone suggest something else to try?
回答1:
Fixed it.
For some reason my categories in my posts were surrounded in square brackets which represents a collection - this is not supported any more (likely it was never supported but just let me get away with it). Changed this and all is working now.
来源:https://stackoverflow.com/questions/15131526/page-build-failed-when-pushing-a-new-blog-post-to-github