6

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?

Matt Roberts
  • 26,371
  • 31
  • 103
  • 180

1 Answers1

5

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.

Matt Roberts
  • 26,371
  • 31
  • 103
  • 180
  • The best bet to fix these funny build failures when they happen is to run a `jekyll --no-auto`. It's great that you answered your question yourself :) – Aniket Mar 16 '13 at 08:16
  • 1
    @Aniket Looks like the new syntax is simply `jekyll serve` and the default behaviour does not auto-build. That requires `jekyll server --watch`. – Alex Angas Sep 26 '13 at 04:19
  • @AlexAngas That's correct. Jekyll still had the old commands when Matt asked the question. – Aniket Oct 05 '13 at 01:50
  • This didn't fix my issue, as I don't have any category lists in any of my posts :(. – nyaray Oct 29 '13 at 23:32