From c77c68ca303f17f987ed1faf69cc636344284fd0 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Tue, 7 Jan 2025 18:12:49 -0500 Subject: [PATCH] ci(build): fix baseurl when basepath is empty --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e684fb8c84aa..43e2b1a82b88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,12 @@ jobs: - name: Setup CI config run: | echo "---" > _config_ci.yml - echo "baseurl: ${{ steps.configure-pages.outputs.base_path }}" >> _config_ci.yml + echo "baseurl: '${{ steps.configure-pages.outputs.base_path }}'" >> _config_ci.yml - name: Build site env: JEKYLL_ENV: production + JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PAGES_REPO_NWO: ${{ github.repository }} run: bundle exec appraisal jekyll build --future --config _config_ci.yml,_config.yml - name: Upload artifact uses: actions/upload-pages-artifact@v3