Skip to content

Render and Publish #834

Render and Publish

Render and Publish #834

Workflow file for this run

on:
push:
branches: main
schedule:
- cron: '55 8,20 * * *'
name: Render and Publish
jobs:
build-deploy:
runs-on: ubuntu-latest
env:
CR_API_KEY: ${{ secrets.CR_API_KEY }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
# To install LaTeX to build PDF book
tinytex: false
# uncomment below and fill to pin a version
# version: SPECIFIC-QUARTO-VERSION-HERE
# add software dependencies here
- uses: r-lib/actions/setup-r@v2
with:
r-version: 'release'
- uses: r-lib/actions/setup-r-dependencies@v2
with:
packages:
any::knitr
any::rmarkdown
any::here
any::readr
any::dplyr
any::tidyr
any::lubridate
any::purrr
any::tibble
any::stringr
any::gt
any::fs
any::scales
github::christopherkenny/royale
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions