Show the bundle check output

Fixes https://github.com/actions/jekyll-build-pages/issues/79
This commit is contained in:
James M. Greene
2023-06-21 11:41:52 -04:00
committed by GitHub
parent b5e22bcae7
commit aa6013bdc0
+1 -1
View File
@@ -14,7 +14,7 @@ PAGES_GEM_HOME=$BUNDLE_APP_CONFIG
GITHUB_PAGES_BIN=$PAGES_GEM_HOME/bin/github-pages
# Check if Gemfile's dependencies are satisfied or print a warning
if test -e "$SOURCE_DIRECTORY/Gemfile" && ! bundle check --dry-run --gemfile "$SOURCE_DIRECTORY/Gemfile" >/dev/null 2>&1; then
if test -e "$SOURCE_DIRECTORY/Gemfile" && ! bundle check --dry-run --gemfile "$SOURCE_DIRECTORY/Gemfile"; then
echo "::warning:: github-pages can't satisfy your Gemfile's dependencies."
fi