Skip to content

Commit 36579ee

Browse files
[build] Update generate-gh-pages.yaml
1 parent 8397ad0 commit 36579ee

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.github/workflows/generate-gh-pages.yaml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,21 @@ jobs:
1515
steps:
1616

1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v5
1919
with:
2020
ref: docs-stable
2121

22+
- name: Checkout changelog
23+
uses: actions/checkout@v5
24+
with:
25+
ref: docs-changelog
26+
path: docs/_changelog
27+
2228
- name: Build BenchmarkDotNet
2329
run: ./build.cmd build
2430

2531
- name: Fetch changelog
26-
run: ./build.cmd docs-fetch --depth 1 --preview --force-clone
32+
run: ./build.cmd docs-fetch --depth 1 --preview
2733
env:
2834
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2935

@@ -43,7 +49,7 @@ jobs:
4349
steps:
4450

4551
- name: Checkout
46-
uses: actions/checkout@v3
52+
uses: actions/checkout@v5
4753
with:
4854
ref: docs-stable
4955

@@ -59,9 +65,8 @@ jobs:
5965
- name: Deploy documentation
6066
uses: JamesIves/github-pages-deploy-action@v4
6167
with:
62-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63-
BRANCH: gh-pages
64-
FOLDER: site
65-
GIT_CONFIG_NAME: Andrey Akinshin
66-
GIT_CONFIG_EMAIL: [email protected]
67-
CLEAN: true
68+
branch: gh-pages
69+
folder: site
70+
git-config-name: Andrey Akinshin
71+
git-config-email: [email protected]
72+
clean: true

0 commit comments

Comments
 (0)