Skip to content

Commit 55d5f4a

Browse files
author
Neobernad
committed
Including publications
1 parent 0dc72f5 commit 55d5f4a

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/pkgdown.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
id-token: write
1212

1313
concurrency:
14-
group: pages
14+
group: ${{ github.workflow }}-${{ github.ref }}
1515
cancel-in-progress: true
1616

1717
jobs:
@@ -24,6 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
2729

2830
- name: Configure GitHub Pages
2931
uses: actions/configure-pages@v5
@@ -44,10 +46,10 @@ jobs:
4446
any::pkgdown
4547
any::rmarkdown
4648
any::knitr
49+
cache-version: 2
4750

4851
- name: Install package
4952
run: R CMD INSTALL .
50-
shell: bash
5153

5254
- name: Build pkgdown site
5355
run: |
@@ -64,17 +66,13 @@ jobs:
6466

6567
deploy:
6668
needs: pkgdown
67-
6869
runs-on: ubuntu-latest
69-
7070
permissions:
7171
pages: write
7272
id-token: write
73-
7473
environment:
7574
name: github-pages
7675
url: ${{ steps.deployment.outputs.page_url }}
77-
7876
steps:
7977
- name: Deploy to GitHub Pages
8078
id: deployment

_pkgdown.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ template:
44
bootstrap: 5
55

66
articles:
7+
- title: "Get started"
8+
contents:
9+
- manual
10+
711
- title: "Publications"
812
contents:
913
- publications
1014

1115
development:
12-
mode: auto
16+
mode: auto

0 commit comments

Comments
 (0)