From 4a153caba5adda3d2cb486e189eaa2d5406f4e8f Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 13:50:30 -0500 Subject: [PATCH] Update render-README.yml --- .github/workflows/render-README.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index fb5561b..0fbc136 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -9,7 +9,7 @@ jobs: render: runs-on: ubuntu-latest - steps: + steps: - name: Checkout repository uses: actions/checkout@v3 @@ -17,8 +17,8 @@ jobs: run: | sudo apt-get update sudo apt-get install -y r-base - Rscript -e 'if (!requireNamespace("rmarkdown", quietly = TRUE)) install.packages("rmarkdown")' - Rscript -e 'if (!requireNamespace("knitr", quietly = TRUE)) install.packages("knitr")' + Rscript -e 'if (!requireNamespace("rmarkdown", quietly = TRUE)) install.packages("rmarkdown", repos = "https://cloud.r-project.org/")' + Rscript -e 'if (!requireNamespace("knitr", quietly = TRUE)) install.packages("knitr", repos = "https://cloud.r-project.org/")' - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 @@ -26,6 +26,5 @@ jobs: - name: Find and Render README.qmd Files run: | find . -name "README.qmd" | while read qmd_file; do - quarto render "$qmd_file" --to html + quarto render "$qmd_file" --to markdown done -