From e5bfd5f2c7da95b0823e9501b9013eb2ef124fa7 Mon Sep 17 00:00:00 2001 From: Alison Presmanes Hill Date: Thu, 16 Jul 2020 07:48:25 -0700 Subject: [PATCH] update gh actions (#65) --- .github/workflows/pkgdown.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 03b0d41..f2ad69f 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -34,7 +34,7 @@ jobs: run: | install.packages("remotes") remotes::install_deps(dependencies = TRUE) - remotes::install_dev("pkgdown") + install.packages("pkgdown") install.packages("ggplot2") install.packages("here") install.packages("dplyr") @@ -45,5 +45,7 @@ jobs: run: R CMD INSTALL . - name: Deploy package - run: pkgdown::deploy_to_branch(new_process = FALSE) - shell: Rscript {0} + run: | + git config --local user.email "actions@github.com" + git config --local user.name "GitHub Actions" + Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'