diff --git a/.github/workflows/update_readme.yml b/.github/workflows/update_readme.yml index d49cb8ac..b0bb845e 100644 --- a/.github/workflows/update_readme.yml +++ b/.github/workflows/update_readme.yml @@ -25,10 +25,9 @@ jobs: readme_content=$(cat README.md) echo "Readme Content: $readme_content" - - # Replace content between and - sed -i '//, //c\'"\n$content\n" README.md - + + # Replace content between and with best_runs.md content + sed -i -e "//, //c\\n$readme_content\n" README.md # Check if there are changes in README.md if ! git diff --quiet README.md; then