Skip to content

Commit

Permalink
Just use a marketplace action?
Browse files Browse the repository at this point in the history
  • Loading branch information
arcataroger committed Nov 20, 2023
1 parent f398530 commit 99bee8b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/regenerate-toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,7 @@ on:

jobs:
regenerate-toc:

name: TOC Generator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: '20'
cache-dependency-path: 'README.md'
- run: npm i -g doctoc --no-package-lock # Install DocToc https://www.npmjs.com/package/doctoc
- run: doctoc README.md # Process the file and regenerate its ToC

- uses: technote-space/toc-generator@v4

0 comments on commit 99bee8b

Please sign in to comment.