Skip to content

Commit

Permalink
fix: 修复 cf pages workflow 里的路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Eterance committed Sep 9, 2023
1 parent 6411e75 commit 9df5419
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cf-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ jobs:
# you can safely remove this if you don't use my site
- name: Replace footer.js
run: |
# get all subfolders
subfolders=$(find ./site/components/ -type d)
# foreach folder in subfolders
for folder in $subfolders; do
for folder in ./site/components/*; do
# delete footer.js
rm "$folder/footer.js"
Expand Down

0 comments on commit 9df5419

Please sign in to comment.