Rename directory #83
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 Table of Contents | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
update_table_of_contents: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Generate Table of Contents | |
run: | | |
node generate_toc.js | |
git config --local user.email "[email protected]" | |
git config --local user.name "infinotiver" | |
git add README.md | |
git commit -m "(Automated) Update table of contents in README" | |
git push |