Skip to content

chore(release): add license and citation metadata #9

chore(release): add license and citation metadata

chore(release): add license and citation metadata #9

Workflow file for this run

name: pkgdown
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
pkgdown:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v6
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website
- name: Build site
run: pkgdown::build_site(new_process = FALSE, install = FALSE)
shell: Rscript {0}
- uses: actions/configure-pages@v5
if: github.event_name != 'pull_request'
- uses: actions/upload-pages-artifact@v4
if: github.event_name != 'pull_request'
with:
path: docs
- name: Deploy site
if: github.event_name != 'pull_request'
id: deployment
uses: actions/deploy-pages@v4