Skip to content

Commit 9bebd96

Browse files
committed
Include pkgdown workflow again, needed for docs branch
1 parent 3d84dc4 commit 9bebd96

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2+
# Also included in R-CMD-check.yaml, this workflow only listens to pushes to branches
3+
# that start with "docs*"
4+
on:
5+
push:
6+
branches:
7+
- "docs*"
8+
- "cran-*"
9+
10+
name: pkgdown
11+
12+
jobs:
13+
pkgdown:
14+
runs-on: ubuntu-latest
15+
16+
name: "pkgdown"
17+
18+
# Begin custom: services
19+
# End custom: services
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
24+
- uses: ./.github/workflows/rate-limit
25+
with:
26+
token: ${{ secrets.GITHUB_TOKEN }}
27+
28+
- uses: ./.github/workflows/git-identity
29+
if: github.event_name == 'push'
30+
31+
- uses: ./.github/workflows/custom/before-install
32+
if: hashFiles('.github/workflows/custom/before-install/action.yml') != ''
33+
34+
- uses: ./.github/workflows/install
35+
with:
36+
token: ${{ secrets.GITHUB_TOKEN }}
37+
install-r: false
38+
cache-version: pkgdown-1
39+
needs: website
40+
extra-packages: r-lib/pkgdown local::.
41+
42+
- uses: ./.github/workflows/custom/after-install
43+
if: hashFiles('.github/workflows/custom/after-install/action.yml') != ''
44+
45+
- uses: ./.github/workflows/pkgdown-build
46+
if: github.event_name != 'push'
47+
48+
- uses: ./.github/workflows/pkgdown-deploy
49+
if: github.event_name == 'push'

0 commit comments

Comments
 (0)