From b90c479b38544c4e937a9234c4cd5c67f6f7b0b8 Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Tue, 10 Sep 2024 21:11:01 -0300 Subject: [PATCH] ci: log-level is "all" --- libdoc.sh | 5 +++++ sitedoc.sh | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/libdoc.sh b/libdoc.sh index f44f68a..ab894a5 100755 --- a/libdoc.sh +++ b/libdoc.sh @@ -76,6 +76,11 @@ fi # Run antora command while test $# -gt 0; do set -x + if [ "$CI" = "true" ]; then + ANTORA_LOG_LEVEL=all + export ANTORA_LOG_LEVEL + fi + if [ "$1" = "develop" ] || [ "$1" = "master" ]; then npx antora --fetch \ --attribute page-boost-branch="$1" \ diff --git a/sitedoc.sh b/sitedoc.sh index 00d520f..904451c 100755 --- a/sitedoc.sh +++ b/sitedoc.sh @@ -81,5 +81,10 @@ if [ ! -d "node_modules" ] || [ "$(find package.json -prune -printf '%T@\n' | cu fi set -x +if [ "$CI" = "true" ]; then + ANTORA_LOG_LEVEL=all + export ANTORA_LOG_LEVEL +fi + npx antora --fetch --attribute page-boost-branch="$1" --attribute page-commit-id="$commit_id" --stacktrace site.playbook.yml