Skip to content

Commit 2bc3ed1

Browse files
author
Guy Davenport
committed
try to fix check
1 parent b40f2bc commit 2bc3ed1

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/generate.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

pkg/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ Imports:
1818
Suggests:
1919
testthat,
2020
tidyverse
21-
RoxygenNote: 7.3.2
21+
RoxygenNote: 7.3.3

0 commit comments

Comments
 (0)