Skip to content

Commit f703571

Browse files
committed
build: add --strict_front_matter to build invocation
Should help catch issues like those in #1042, which didn't cause the CI to fail. ```bash bundle exec jekyll server --future --drafts --unpublished --incremental --strict_front_matter ... Incremental build: enabled Generating... Error: YAML Exception reading /Users/michael/bitcoincore.org/_posts/en/posts/2024-06-10-disclose-bip70-crash.md: (<unknown>): mapping values are not allowed in this context at line 2 column 18 ------------------------------------------------ ```
1 parent 6b35825 commit f703571

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ all: build test
22

33
preview:
44
bundle exec jekyll clean
5-
bundle exec jekyll serve --future --drafts --unpublished --incremental
5+
bundle exec jekyll serve --future --drafts --unpublished --incremental --strict_front_matter
66

77
build:
88
bundle exec jekyll clean
9-
bundle exec jekyll build --future --drafts --unpublished
9+
bundle exec jekyll build --future --drafts --unpublished --strict_front_matter
1010

1111
test: test-fast test-slow
1212

0 commit comments

Comments
 (0)