Skip to content

Commit

Permalink
fail build if error is logged
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Mar 2, 2024
1 parent 9604df3 commit 10dcb64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10dcb64

Please sign in to comment.