diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 67a5bbe..1900873 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -91,9 +91,6 @@ jobs: python -m pip install --upgrade pip pip install requests pyyaml # find all modified files under `_posts` folder - - name: Set git config - run: | - git config --global core.quotepath false - name: Checkout uses: actions/checkout@v4 with: @@ -106,9 +103,10 @@ jobs: files: | _posts/*.md fetch_depth: 5 + quotepath: false # use all_changed_files - name: Save Page - if: steps.changed-posts.outputs.all_changed_files != '[]' + if: steps.changed-posts.outputs.all_changed_files != '[]' && steps.changed-posts.outputs.all_changed_files != '' run: python .github/workflows/save_page.py env: all_changed_files: ${{ steps.changed-posts.outputs.all_changed_files }}