Closed david-boles closed 6 years ago
I'm building entirely from the command line with:
ALGOLIA_APPLICATION_ID="XNTLRPVD7E" ALGOLIA_INDEX_NAME="CFRCR" ALGOLIA_API_KEY="<my admin key>" jekyll algolia push --trace
I dug into the code just a tiny bit and it looks like an issue when you don't specify anything for algolia: in your config. I added it with the application_id and index_name and it no longer errors. Unfortunately I don't know Ruby to fix it myself but it looks trivial.
Thanks a lot!
Thanks for the report and for digging into the code @david476. I'll have this fixed :)
The new version of the plugin (renamed to jekyll-algolia) should have this fixed. With it you can pass application id, api key and index name either from the config file or from the command line.
It should also display friendlier error messages in case one of the config is missing.
Let me know if you can get the new version a test run and see if it fixes your issue. I haven't written a complete migration guide yet, but the README should give you enough pointers for a start.
Thanks for reporting the issue in the first place!
Jekyll site, stacktrace:
Anything else I can provide?