Skip to content

Merge pull request #413 from reichlab/bsweger/fixup-gitignore #90

Merge pull request #413 from reichlab/bsweger/fixup-gitignore

Merge pull request #413 from reichlab/bsweger/fixup-gitignore #90

Workflow file for this run

on:
push:
branches:
- master
name: pkgdown
jobs:
pkgdown:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-pandoc@v2
- name: Install dependencies
run: |
install.packages(c("devtools"))
remotes::install_deps(dependencies = TRUE)
devtools::install()
shell: Rscript {0}
- name: Build site
run: |
Rscript -e 'pkgdown::build_site()'
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
add: 'docs'
message: "Build pkgdown site"
default_author: github_actions
push: true