Skip to content

Commit

Permalink
Update update-toc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MishkatIT authored Nov 9, 2023
1 parent 3a0bfc7 commit f2f49f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/update-toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Install tree
run: sudo apt-get install tree

- name: Generate TOC
run: |
# Use a tool or script to generate the file structure tree and update the TOC
Expand All @@ -26,4 +29,4 @@ jobs:
git config --local user.name "GitHub Actions"
git add README.md
git commit -m "Update TOC"
git push
git push origin $GITHUB_REF

0 comments on commit f2f49f9

Please sign in to comment.