mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-16 08:08:28 +00:00
Merge pull request #840 from steveseguin/auto-update-advanced-settings-toc
Create update-advanced-settings-toc.yml
This commit is contained in:
commit
6ab5a338af
21
.github/workflows/update-advanced-settings-toc.yml
vendored
Normal file
21
.github/workflows/update-advanced-settings-toc.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Update Advanced Settings Markdown TOC
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 3 * * *'
|
||||
|
||||
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"
|
||||
Loading…
x
Reference in New Issue
Block a user