File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ name: 'Action to build a pkgdown website'
33runs :
44 using : " composite"
55 steps :
6+ - name : " Band aid: install rmarkdown from GitHub in older R"
7+ run : |
8+ if (getRversion() < "3.5" && packageVersion("rmarkdown") < "2.13") {
9+ pak::pak("rstudio/rmarkdown")
10+ }
11+ shell : Rscript {0}
12+
613 - name : Build site
714 run : |
815 pkgdown::build_site()
Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ name: 'Action to deploy a pkgdown website'
33runs :
44 using : " composite"
55 steps :
6+ - name : " Band aid: install rmarkdown from GitHub in older R"
7+ run : |
8+ if (getRversion() < "3.5" && packageVersion("rmarkdown") < "2.13") {
9+ pak::pak("rstudio/rmarkdown")
10+ }
11+ shell : Rscript {0}
12+
613 - name : Deploy site
714 run : |
815 pkgdown::deploy_to_branch(new_process = FALSE)
You can’t perform that action at this time.
0 commit comments