Skip to content

Commit

Permalink
Finally got update_index.yaml working
Browse files Browse the repository at this point in the history
  • Loading branch information
ccbaumler authored Feb 18, 2024
1 parent 48d634d commit d6557a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/update_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:

- name: Extract Markdown links and update index.md
run: |
echo ${{needs.conditional_job_check_files.outputs.docs_changed}}
find docs -type f -name "*.md" > links.txt
awk -F/ '{gsub(/\.md$/, ""); gsub(/ /, "\\ "); printf "[%s](%s)\n", $NF, $0}' links.txt > tmp && mv tmp links.txt
awk 'BEGIN{p=1} /^## Notes/{print "## Notes"; while(getline < "links.txt") {print; print "\n"}; p=0} p' index.md > temp_index.md && mv temp_index.md index.md
Expand Down

0 comments on commit d6557a8

Please sign in to comment.