From 0b9d3f4f1164d18fe00cb7c784f5ed21e542c85f Mon Sep 17 00:00:00 2001 From: Kyle Ferriter Date: Mon, 4 Nov 2024 15:22:29 -0700 Subject: [PATCH] Update error check in html build --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 082d1eee..0b39a971 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,5 +40,5 @@ jobs: # SPHINXOPTS='-W --keep-going' make html cd docs make html >html.log 2>&1 - # set exit code if found - grep -E "ERROR|CRITICAL" html.log && false + # succeed if not found, fail if found + ! grep -E "ERROR|CRITICAL" html.log