Skip to content

Draft vignette and minor updates to DESCRIPTION #33

Draft vignette and minor updates to DESCRIPTION

Draft vignette and minor updates to DESCRIPTION #33

Workflow file for this run

on:
push:
branches:
- "master"
pull_request:
branches:
- "*"
name: vignette
jobs:
vignette:
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
config:
- { os: ubuntu-latest }
runs-on: ${{ matrix.config.os }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
id: install-r
- uses: r-lib/actions/setup-pandoc@v2
- name: Cache R packages
uses: actions/cache@v4
- uses: r-lib/actions/setup-r-dependencies@v2
- name: Install package
run: R CMD INSTALL .
- name: Build and deploy pkgdown site
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
shell: bash -l {0}