Skip to content

Commit 92113c1

Browse files
committed
fix bash lint
1 parent 84a94c4 commit 92113c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ else
3737
FUTURE=''
3838
fi
3939

40-
cd "$PAGES_GEM_HOME"
40+
{ cd "$PAGES_GEM_HOME" || { echo "::error::pages gem not found"; exit 1; }; }
4141

4242
# Run the command, capturing the output
4343
build_output="$($GITHUB_PAGES_BIN build "$VERBOSE" "$FUTURE" --source "$SOURCE_DIRECTORY" --destination "$DESTINATION_DIRECTORY")"

0 commit comments

Comments
 (0)