Skip to content

Commit

Permalink
Update best runs section in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mijanr committed Mar 16, 2024
1 parent 5e70135 commit 2ea0bbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/update_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
readme_content=$(cat README.md)
# Replace content between <!--START_SECTION:best_runs--> and <!--END_SECTION:best_runs-->
new_content="<!--START_SECTION:best_runs-->\n$(echo "${{ steps.read_best_runs.outputs.content }}")\n<!--END_SECTION:best_runs-->"
#new_content="<!--START_SECTION:best_runs-->\n$(echo "${{ steps.read_best_runs.outputs.content }}")\n<!--END_SECTION:best_runs-->"
new_content="<!--START_SECTION:best_runs-->\n${{ steps.read_best_runs.outputs.content }}\n<!--END_SECTION:best_runs-->"
updated_readme_content=$(echo "$readme_content" | sed -e '/<!--START_SECTION:best_runs-->/, /<!--END_SECTION:best_runs-->/c\'"$new_content")
# Update README.md
Expand Down

0 comments on commit 2ea0bbd

Please sign in to comment.