Skip to content

Commit

Permalink
Merge pull request #12 from tuftsceeo/main
Browse files Browse the repository at this point in the history
catch up 3
  • Loading branch information
NicK4rT authored Nov 13, 2024
2 parents ab3f244 + b6f4302 commit 9e7bf51
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/render-README.qmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Render QMD Files
on:
push:
branches:
- main # Adjust as needed
- dev/nick # Adjust as needed

jobs:
render_qmd:
Expand All @@ -18,7 +18,17 @@ jobs:
wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.2.269/quarto-1.2.269-linux-amd64.deb
sudo dpkg -i quarto-1.2.269-linux-amd64.deb
- name: Install R and Required Packages
run: |
sudo apt-get update
sudo apt-get install -y r-base
mkdir -p ~/R/library # Ensure the writable library path exists
Rscript -e 'install.packages("rmarkdown", lib="~/R/library", repos="https://cloud.r-project.org")'
Rscript -e 'install.packages("jsonlite", lib="~/R/library", repos="https://cloud.r-project.org")'
- name: Render README.qmd files to README.md
env:
R_LIBS_USER: ~/R/library # Ensure Quarto sees the correct library path
run: |
for file in $(find . -name 'README.qmd'); do
# Render each README.qmd to README.md
Expand Down

0 comments on commit 9e7bf51

Please sign in to comment.