Skip to content

Commit 0580682

Browse files
authored
Merge pull request #94 from actions/add-api-endpoint
Add api endpoint override
2 parents f5b58bc + 652a437 commit 0580682

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ inputs:
2828
default: ${{ github.token }}
2929
runs:
3030
using: 'docker'
31-
image: 'docker://ghcr.io/actions/jekyll-build-pages:v1.0.7'
31+
image: 'docker://ghcr.io/actions/jekyll-build-pages:v1.0.8'

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)