Skip to content

Run GHA on quarto branch, not master #1

Run GHA on quarto branch, not master

Run GHA on quarto branch, not master #1

Workflow file for this run

on:
push:
branches: quarto
name: Render and publish
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Install R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.2.0'
- name: Install R packages
uses: r-lib/actions/setup-r-dependencies@v2
with:
packages:
any::rmarkdown
- name: Publish to GitHub Pages
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}