diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 6abe60e..38f6b38 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -13,8 +13,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 with: - persist-credentials: false # Prevents GitHub token reuse - + persist-credentials: false - name: Set up R uses: r-lib/actions/setup-r@v2 @@ -26,10 +25,10 @@ jobs: - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 - - name: Find and Render README.qmd Files + - name: Find and Render README.qmd Files # quarto render "$qmd_file" --to markdown run: | find . -name "README.qmd" | while read qmd_file; do - quarto render "$qmd_file" --to markdown + rmarkdown::render(qmd_file) done - name: Commit and Push Rendered Files