ICESAT-2HackWeek/ICESat-2-Hackweek-2023

Create Netlify Preview even if build step raises an error

Closed this issue · 1 comments

This PR didn't get a preview #50

Simply because WARNING: Non-consecutive header level increase; 2 to 4 [myst.header] raises an error code

jupyter-book build book/ --warningiserror --keep-going

Log:
https://github.com/ICESAT-2HackWeek/ICESat-2-Hackweek-2023/actions/runs/5720017208/job/15499143677?pr=50

I think we want the warnings to still raise errors, but at least create the preview link.

An alternative is to relax this particular warning, which comes up all the time!

https://myst-parser.readthedocs.io/en/latest/configuration.html#build-warnings