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 207c178 commit 9f51136
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,27 @@ 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
with:
json: true
files: |
_posts/*.md
fetch_depth: 5
# use all_changed_files
- name: Save Page
if: steps.changed-posts.outputs.all_changed_files != '[]'
Expand Down

0 comments on commit 9f51136

Please sign in to comment.