Skip to content

Commit

Permalink
tighten log failure level to warn when building production site
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Apr 18, 2024
1 parent 097efce commit 914669e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ jobs:
# 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
npm_config_audit: false
#run: |
# npm --audit false --fund false --omit optional --package-lock false i
# npx --offline antora --stacktrace --extension @antora/collector-extension --extension @antora/lunr-extension --extension jetty-downloads --extension register-asciidoctor-kroki --html-url-extension-style indexify --log-failure-level error antora-playbook.yml
run: mvn -ntp antora:antora@full
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# which is equivalent to:
#
# npm i --package-lock false
# ANTORA_CACHE_DIR=$PWD/.cache/antora npx --offline antora --clean --fetch --extension @antora/collector-extension --extension @antora/lunr-extension --extension jetty-downloads --extension register-asciidoctor-kroki --log-failure-level error --stacktrace antora-playbook.yml
# ANTORA_CACHE_DIR=$PWD/.cache/antora npx --offline antora --clean --fetch --extension @antora/collector-extension --extension @antora/lunr-extension --extension jetty-downloads --extension register-asciidoctor-kroki --log-failure-level warn --stacktrace antora-playbook.yml
antora:
extensions:
- ./lib/component-url-prefix-extension.js
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<option>extension[] @antora/lunr-extension</option>
<option>extension[] jetty-downloads</option>
<option>extension[] register-asciidoctor-kroki</option>
<option>log-failure-level error</option>
<option>log-failure-level warn</option>
<option>stacktrace</option>
</additionalOptions>
</configuration>
Expand Down

0 comments on commit 914669e

Please sign in to comment.