You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/02/19 07:03:36 UTC

[causeway] branch master updated: CAUSEWAY-2445: attempted CI build fix (antora run issue 3)

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/master by this push:
     new 2306852636 CAUSEWAY-2445: attempted CI build fix (antora run issue 3)
2306852636 is described below

commit 2306852636b290b787be70a863157a11b071434b
Author: andi-huber <ah...@apache.org>
AuthorDate: Sun Feb 19 08:03:31 2023 +0100

    CAUSEWAY-2445: attempted CI build fix (antora run issue 3)
---
 scripts/ci/_adoc-antora.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/scripts/ci/_adoc-antora.sh b/scripts/ci/_adoc-antora.sh
index b741bf1b0e..a9537a2e7d 100644
--- a/scripts/ci/_adoc-antora.sh
+++ b/scripts/ci/_adoc-antora.sh
@@ -48,19 +48,19 @@ if [ -z "$REVISION" ]; then
   export REVISION="SNAPSHOT"
 fi
 
-if [ -z "$ANTORA_CMD" ]; then
-  ANTORA_CMD=$(command -v antora 2>/dev/null)
+#if [ -z "$ANTORA_CMD" ]; then
+#  ANTORA_CMD=$(command -v antora 2>/dev/null)
 #  if [ -z "$ANTORA_CMD" ]; then
 #    ANTORA_CMD=$(npm bin)/antora
 #  fi
-  if [ -z "$ANTORA_CMD" ]; then
-    ANTORA_CMD=npm run antora
-  fi
-fi
+#  if [ -z "$ANTORA_CMD" ]; then
+#    ANTORA_CMD=npm run antora
+#  fi
+#fi
 
 echo "running antora ..."
 echo "$ANTORA_CMD --redirect-facility static --stacktrace $PLAYBOOK"
-$ANTORA_CMD --redirect-facility static --stacktrace $PLAYBOOK
+npm run antora --redirect-facility static --stacktrace $PLAYBOOK
 
 # clean up
 rm $PLAYBOOK