Skip to content

Fix GitHub Actions

Fix GitHub Actions #8

Workflow file for this run

on:
push:
branches: [main, master]
workflow_dispatch:
name: render-examples
jobs:
render-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install TeX Live packages
run: sudo apt install -y texlive-base texlive-xetex latexmk
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: release
use-public-rspm: true
- name: Install R dependencies
run: |
install.packages("rmarkdown")
install.packages("MASS")
install.packages("broom")
install.packages("ggplot2")
install.packages("kableExtra")
shell: Rscript {0}
- uses: quarto-dev/quarto-actions/setup@v2
- uses: quarto-dev/quarto-actions/render@v2
- uses: quarto-dev/quarto-actions/publish@v2
with:
QUARTO_PUB: ${{ secrets.QUARTO_PUB }}
target: quarto-pub
path: template.qmd