From 92113c15ddadcbfdf53470c1fb0de069795d88e4 Mon Sep 17 00:00:00 2001 From: yimysty Date: Thu, 19 Oct 2023 17:40:15 -0700 Subject: [PATCH] fix bash lint --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1941b75..84d9d32 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -37,7 +37,7 @@ else FUTURE='' fi -cd "$PAGES_GEM_HOME" +{ cd "$PAGES_GEM_HOME" || { echo "::error::pages gem not found"; exit 1; }; } # Run the command, capturing the output build_output="$($GITHUB_PAGES_BIN build "$VERBOSE" "$FUTURE" --source "$SOURCE_DIRECTORY" --destination "$DESTINATION_DIRECTORY")"