-
Notifications
You must be signed in to change notification settings - Fork 79
54 lines (41 loc) · 1.46 KB
/
pkgdown.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Also included in R-CMD-check.yaml, this workflow only listens to pushes to branches
# that start with "docs*"
on:
push:
branches:
- "docs*"
- "cran-*"
workflow_dispatch:
name: pkgdown
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.sha }}-${{ github.base_ref || '' }}
cancel-in-progress: true
jobs:
pkgdown:
runs-on: ubuntu-latest
name: "pkgdown"
# Begin custom: services
# End custom: services
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/rate-limit
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/workflows/git-identity
if: github.event_name == 'push'
- uses: ./.github/workflows/custom/before-install
if: hashFiles('.github/workflows/custom/before-install/action.yml') != ''
- uses: ./.github/workflows/install
with:
token: ${{ secrets.GITHUB_TOKEN }}
install-r: false
cache-version: pkgdown-1
needs: website
extra-packages: r-lib/pkgdown local::.
- uses: ./.github/workflows/custom/after-install
if: hashFiles('.github/workflows/custom/after-install/action.yml') != ''
- uses: ./.github/workflows/pkgdown-build
if: github.event_name != 'push'
- uses: ./.github/workflows/pkgdown-deploy
if: github.event_name == 'push'