From 37fc225c53ffe745b68ad4deaa2a4ccdb743dc58 Mon Sep 17 00:00:00 2001 From: Hamel Husain Date: Sat, 18 Apr 2020 16:46:10 -0700 Subject: [PATCH] add strict front matter checking --- .github/workflows/ci.yaml | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f101ad1d..03c38eff 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: - name: Jekyll build uses: docker://hamelsmu/fastpages-jekyll with: - args: bash -c "gem install bundler && jekyll build -V" + args: bash -c "gem install bundler && jekyll build -V --strict_front_matter" env: JEKYLL_ENV: 'production' diff --git a/docker-compose.yml b/docker-compose.yml index cf0092fd..d4eaa4fa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,5 +35,5 @@ services: - .:/data/ command: > bash -c "gem install bundler - && jekyll serve --trace" + && jekyll serve --trace --strict_front_matter"