Skip to content

Update source and target data #15

Update source and target data

Update source and target data #15

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
name: Render R Markdown
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'data/**'
- 'utils/render'
- '.github/workflows/render-rmarkdown.yml'
- 'renv.lock'
workflow_dispatch:
permissions: read-all
jobs:
render-rmarkdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-renv@v2
- name: Build site
run: utils/render
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
clean: true
branch: gh-pages
folder: public