Skip to content

Commit

Permalink
Update update_readme.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ccbaumler authored Jan 31, 2024
1 parent 180f4ee commit ef84800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Extract Markdown links and update README
run: |
find docs -type f -name "*.md" -exec awk -v RS= '{gsub(/\n/, " "); print "[" FILENAME "](" FILENAME ")"}' {} \; > links.txt
awk 'BEGIN{p=1} /^## Notes/{print "## Notes"; system("cat links.txt"); p=0} p' README.md > temp_readme.md
mv temp_readme.md README.md
awk 'BEGIN{p=1} /^## Notes/{print "## Notes"; system("cat links.txt"); p=0} p' index.md > temp_index.md
mv temp_index.md index.md
- name: commit
run: |
Expand Down

0 comments on commit ef84800

Please sign in to comment.