Update table of contents within any Markdown file that has a TOC
This commit is contained in:
1 parent
23e186c44b
commit
f49642abbb
1 file changed
+3
-1
@@ -19,7 +19,9 @@ jobs:
|
||||
- run: |
|
||||
curl https://raw.githubusercontent.com/ekalinin/github-markdown-toc/master/gh-md-toc -o gh-md-toc
|
||||
chmod a+x gh-md-toc
|
||||
./gh-md-toc --insert --no-backup --hide-footer --skip-header README.md
|
||||
for file in "**/*.md"; do
|
||||
./gh-md-toc --insert --no-backup --hide-footer --skip-header $file
|
||||
done
|
||||
rm gh-md-toc
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user