Update Advanced Settings Markdown TOC #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Advanced Settings Markdown TOC | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 29 2 1' | |
jobs: | |
update-toc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
repository: ${{github.repository}}.wiki | |
- name: Run github-markdown-toc | |
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 Advanced-Settings.md | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "Auto update markdown TOC" |