Skip to content

Commit

Permalink
ci: try fix save page
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Lord authored Feb 9, 2024
1 parent 304a167 commit 4eb51ed
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down

0 comments on commit 4eb51ed

Please sign in to comment.