Skip to content

Commit 5d8c746

Browse files
committed
Update check-pkgdown action
1 parent 5c897cf commit 5d8c746

1 file changed

Lines changed: 6 additions & 22 deletions

File tree

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# based on https://docs.ropensci.org/rotemplate/
2+
13
on:
24
push:
35
branches:
@@ -9,25 +11,7 @@ on:
911
name: check-pkgdown
1012

1113
jobs:
12-
check_pkgdown:
13-
runs-on: ubuntu-22.04
14-
15-
env:
16-
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
17-
18-
steps:
19-
- uses: actions/checkout@v4
20-
- uses: r-lib/actions/setup-r@v2
21-
with:
22-
r-version: 'release'
23-
- uses: r-lib/actions/setup-r-dependencies@v2
24-
with:
25-
extra-packages: any::devtools, any::pkgdown
26-
27-
- name: Install dependencies
28-
run: devtools::install_github("https://github.com/ropensci-org/rotemplate")
29-
shell: Rscript {0}
30-
31-
- name: Check pkgdown
32-
run: pkgdown::check_pkgdown()
33-
shell: Rscript {0}
14+
check_pkgdown:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: ropensci-org/rotemplate@main

0 commit comments

Comments
 (0)