Skip to content

Commit 2d7b237

Browse files
committed
Fix workflow
1 parent 7017daf commit 2d7b237

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/auto_toc_update.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 5
1717
steps:
18+
- name: Update TOC
1819
- uses: actions/checkout@v3
1920
- run: |
2021
curl https://raw.githubusercontent.com/ekalinin/github-markdown-toc/master/gh-md-toc -o gh-md-toc
2122
chmod a+x gh-md-toc
22-
for file in "**/*.md"; do
23+
for file in $(find . -type f -name "*.md"); do
2324
./gh-md-toc --insert --no-backup --hide-footer --skip-header $file
2425
done
2526
rm gh-md-toc

0 commit comments

Comments
 (0)