From 10dcb64b7daca1e0cd2ffad0a59cec9394c2329e Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Fri, 1 Mar 2024 20:13:51 -0700 Subject: [PATCH] fail build if error is logged --- .github/workflows/publish-site.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-site.yml b/.github/workflows/publish-site.yml index 7ae94f8..25e6be4 100644 --- a/.github/workflows/publish-site.yml +++ b/.github/workflows/publish-site.yml @@ -48,7 +48,7 @@ jobs: env: # must set ANTORA_CACHE_DIR so Maven will put jetty home where Antora Collector won't delete it ANTORA_CACHE_DIR: ${{ github.workspace }}/.cache/antora - run: npx -y --package antora --package @antora/collector-extension --package @antora/lunr-extension --package asciidoctor-kroki antora --stacktrace --extension @antora/collector-extension --extension @antora/lunr-extension --html-url-extension-style=indexify antora-playbook.yml + run: npx -y --package antora --package @antora/collector-extension --package @antora/lunr-extension --package asciidoctor-kroki antora --stacktrace --extension @antora/collector-extension --extension @antora/lunr-extension --html-url-extension-style=indexify --log-failure-level=error antora-playbook.yml - name: Upload Artifact uses: actions/upload-pages-artifact@v3 - name: Deploy Artifact to GitHub Pages