Skip to content

Commit 8397ad0

Browse files
[build] Update generate-changelog.yaml
1 parent 0be519c commit 8397ad0

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/generate-changelog.yaml

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

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

22+
- name: Checkout changelog
23+
uses: actions/checkout@v5
24+
with:
25+
ref: docs-changelog
26+
path: docs/_changelog
27+
2228
- name: Fetch changelog
23-
run: ./build.cmd docs-fetch --depth 1 --preview --force-clone
29+
run: ./build.cmd docs-fetch --depth 1 --preview
2430
env:
2531
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2632

2733
- name: Push changelog
2834
uses: JamesIves/github-pages-deploy-action@v4
2935
with:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
BRANCH: docs-changelog
32-
FOLDER: docs/_changelog
33-
GIT_CONFIG_NAME: Andrey Akinshin
34-
GIT_CONFIG_EMAIL: [email protected]
35-
CLEAN: true
36+
branch: docs-changelog
37+
folder: docs/_changelog
38+
git-config-name: Andrey Akinshin
39+
git-config-email: [email protected]
40+
clean: true

0 commit comments

Comments
 (0)