Skip to content

Commit a93aba3

Browse files
committed
add override for pages_api_url
1 parent f5b58bc commit a93aba3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ DESTINATION_DIRECTORY=${GITHUB_WORKSPACE}/$INPUT_DESTINATION
1313
PAGES_GEM_HOME=$BUNDLE_APP_CONFIG
1414
GITHUB_PAGES_BIN=$PAGES_GEM_HOME/bin/github-pages
1515

16-
# Check if Gemfile's dependencies are satisfied or print a warning
16+
# Check if Gemfile's dependencies are satisfied or print a warning
1717
if test -e "$SOURCE_DIRECTORY/Gemfile" && ! bundle check --dry-run --gemfile "$SOURCE_DIRECTORY/Gemfile"; then
1818
echo "::warning:: github-pages can't satisfy your Gemfile's dependencies."
1919
fi
@@ -23,6 +23,7 @@ export JEKYLL_ENV="production"
2323
export JEKYLL_GITHUB_TOKEN=$INPUT_TOKEN
2424
export PAGES_REPO_NWO=$GITHUB_REPOSITORY
2525
export JEKYLL_BUILD_REVISION=$INPUT_BUILD_REVISION
26+
export PAGES_API_URL=$GITHUB_API_URL
2627

2728
# Set verbose flag
2829
if [ "$INPUT_VERBOSE" = 'true' ]; then

0 commit comments

Comments
 (0)