File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,26 @@ jobs:
7676 with :
7777 packages : |
7878 any::devtools
79+ any::pkgdown
80+
81+ - name : Run devtools::document
82+ working-directory : ./main/pkg
83+ run : Rscript -e "devtools::document()"
84+
85+ - name : Build pkgdown site
86+ working-directory : ./main/pkg
87+ run : Rscript -e "pkgdown::build_site()"
7988
8089 - name : Run devtools::check
8190 working-directory : ./main/pkg
8291 run : Rscript -e "devtools::check()"
8392
93+ - name : Deploy to gh-pages
94+ uses : peaceiris/actions-gh-pages@v4
95+ with :
96+ github_token : ${{ secrets.GITHUB_TOKEN }}
97+ publish_dir : ./main/pkg/docs
98+
8499 - name : Commit and Push changes
85100 uses : stefanzweifel/git-auto-commit-action@v5
86101 with :
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ Imports:
1818Suggests:
1919 testthat,
2020 tidyverse
21- RoxygenNote: 7.3.2
21+ RoxygenNote: 7.3.3
You can’t perform that action at this time.
0 commit comments