Skip to content

Merge pull request #400 from reichlab/nikosbosse-patch-1 #87

Merge pull request #400 from reichlab/nikosbosse-patch-1

Merge pull request #400 from reichlab/nikosbosse-patch-1 #87

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("remotes","devtools", "rmarkdown","tidyverse","DT","here", "pkgdown", "textshaping"))
devtools::install_github("epiforecasts/scoringutils")
remotes::install_deps(dependencies = NA)
shell: Rscript {0}
- name: Install zoltr
run: |
devtools::install_github("reichlab/zoltr")
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