Skip to content

Commit

Permalink
render on github
Browse files Browse the repository at this point in the history
  • Loading branch information
mattblackwell committed Jun 9, 2024
1 parent 73c1d62 commit 62e9c3a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,21 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up R (needed for Rmd)
uses: r-lib/actions/setup-r@v2

- name: Install packages (needed for Rmd)
run: Rscript -e 'install.packages(c("rmarkdown", "knitr", "jsonlite"))'

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true

- name: Render Book project
uses: quarto-dev/quarto-actions/render@v2

- name: Publish HTML book
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
render: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 62e9c3a

Please sign in to comment.