From ef84800aec7a4c4a01d1866c5ba5245cfb5b4ff4 Mon Sep 17 00:00:00 2001 From: Colton Baumler <63077899+ccbaumler@users.noreply.github.com> Date: Wed, 31 Jan 2024 15:15:55 -0800 Subject: [PATCH] Update update_readme.yaml --- .github/workflows/update_readme.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_readme.yaml b/.github/workflows/update_readme.yaml index 2ba1d29..f8d3e4c 100644 --- a/.github/workflows/update_readme.yaml +++ b/.github/workflows/update_readme.yaml @@ -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: |