From 96349d6012d3948bf6ff42191f264097a2c35df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Tue, 17 Oct 2023 16:15:59 +0200 Subject: [PATCH] fix boolean check --- action.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.sh b/action.sh index fbcf928..a69f35b 100755 --- a/action.sh +++ b/action.sh @@ -21,7 +21,7 @@ if [ ! -d "${INPUT_DIRECTORY}" ]; then fi # optionally: create index -if [ "${INPUT_INDEX}" ]; then +if "${INPUT_INDEX}"; then if [ ! -e "${INPUT_DIRECTORY}/index.html" ]; then tree "${INPUT_DIRECTORY}" -a -H "." \ -D \