Skip to content

Commit 9dff6c6

Browse files
committed
ci: update workflows/ci.yml
1 parent 3b31f69 commit 9dff6c6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
contents: write
1212
id-token: write
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 18
17+
node-version: 20
1818
registry-url: 'https://registry.npmjs.org'
1919

2020
- run: npm install
@@ -41,7 +41,7 @@ jobs:
4141
uses: jaywcjlove/changelog-generator@main
4242

4343
- name: Deploy Website
44-
uses: peaceiris/actions-gh-pages@v3
44+
uses: peaceiris/actions-gh-pages@v4
4545
with:
4646
user_name: 'github-actions[bot]'
4747
user_email: 'github-actions[bot]@users.noreply.github.com'
@@ -61,6 +61,7 @@ jobs:
6161
uses: ncipollo/release-action@v1
6262
if: steps.create_tag.outputs.successful
6363
with:
64+
allowUpdates: true
6465
token: ${{ secrets.GITHUB_TOKEN }}
6566
name: ${{ steps.create_tag.outputs.version }}
6667
tag: ${{ steps.create_tag.outputs.version }}
@@ -77,7 +78,7 @@ jobs:
7778
${{ steps.changelog.outputs.changelog }}
7879
7980
- name: Deploy
80-
uses: peaceiris/actions-gh-pages@v3
81+
uses: peaceiris/actions-gh-pages@v4
8182
with:
8283
github_token: ${{ secrets.GITHUB_TOKEN }}
8384
publish_dir: ./website/build

0 commit comments

Comments
 (0)