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)'