Skip to content

Commit

Permalink
More debug output to stderr in the entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinna Kiisuo committed Dec 6, 2023
1 parent 3dd2401 commit 50fe352
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ fi

# If pwd has a Gemfile, install it and run via bundler
if [ -f "Gemfile" ]; then
>&2 echo "Installing bundle.."
bundle install
>&2 echo "Launching via bundle.."
su-exec jekyll bundle exec "$@"
# If no Gemfile, run as-is with jekyll user
else
>&2 echo "No Gemfile, launching plain.."
su-exec jekyll "$@"
fi

0 comments on commit 50fe352

Please sign in to comment.