We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8181fc0 commit 1e9bc18Copy full SHA for 1e9bc18
entrypoint.sh
@@ -13,6 +13,11 @@ DESTINATION_DIRECTORY=${GITHUB_WORKSPACE}/$INPUT_DESTINATION
13
PAGES_GEM_HOME=$BUNDLE_APP_CONFIG
14
GITHUB_PAGES=$PAGES_GEM_HOME/bin/github-pages
15
16
+# Check if Gemfile's dependencies are satisfied or print a warning
17
+if test -e "$SOURCE_DIRECTORY/Gemfile" && ! bundle check --dry-run --gemfile "$SOURCE_DIRECTORY/Gemfile" >/dev/null 2>&1; then
18
+ echo "::warning:: github-pages can't satisfy your Gemfile's dependencies."
19
+fi
20
+
21
# Set environment variables required by supported plugins
22
export JEKYLL_ENV="production"
23
export JEKYLL_GITHUB_TOKEN=$INPUT_TOKEN
0 commit comments