diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 686c344..67a5bbe 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -85,14 +85,19 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.11" - # install packages: wayback + # install python packages - name: Install packages run: | 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: + fetch-depth: 5 - name: Find modified posts id: changed-posts uses: tj-actions/changed-files@v42 @@ -100,6 +105,7 @@ jobs: json: true files: | _posts/*.md + fetch_depth: 5 # use all_changed_files - name: Save Page if: steps.changed-posts.outputs.all_changed_files != '[]'