From a93aba3ca8b6160b64333f99f72ca596cf8b4ace Mon Sep 17 00:00:00 2001 From: yimysty Date: Thu, 29 Jun 2023 17:15:58 -0700 Subject: [PATCH 1/2] add override for pages_api_url --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3991b272..024fe954 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,7 +13,7 @@ DESTINATION_DIRECTORY=${GITHUB_WORKSPACE}/$INPUT_DESTINATION 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 +# 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"; then echo "::warning:: github-pages can't satisfy your Gemfile's dependencies." fi @@ -23,6 +23,7 @@ export JEKYLL_ENV="production" export JEKYLL_GITHUB_TOKEN=$INPUT_TOKEN export PAGES_REPO_NWO=$GITHUB_REPOSITORY export JEKYLL_BUILD_REVISION=$INPUT_BUILD_REVISION +export PAGES_API_URL=$GITHUB_API_URL # Set verbose flag if [ "$INPUT_VERBOSE" = 'true' ]; then From 652a437a31e182ead2cf6f93117f55472a9769bf Mon Sep 17 00:00:00 2001 From: yimysty Date: Thu, 29 Jun 2023 17:17:13 -0700 Subject: [PATCH 2/2] bump version --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 86827690..d95d4cc4 100644 --- a/action.yml +++ b/action.yml @@ -28,4 +28,4 @@ inputs: default: ${{ github.token }} runs: using: 'docker' - image: 'docker://ghcr.io/actions/jekyll-build-pages:v1.0.7' + image: 'docker://ghcr.io/actions/jekyll-build-pages:v1.0.8'