Skip to content

Merge pull request #410 from reichlab/bsweger/cleanup-unused-target-r… #89

Merge pull request #410 from reichlab/bsweger/cleanup-unused-target-r…

Merge pull request #410 from reichlab/bsweger/cleanup-unused-target-r… #89

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