Skip to content

Commit ecaa70b

Browse files
switch gh-pages deploy_key to github_token, update actions (#21)
1 parent ef98d90 commit ecaa70b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
node-version: [22.x]
1717
steps:
1818
- name: Checkout Repo
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2222
fetch-depth: 0
2323

2424
- name: Setup node
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node_version }}
2828

@@ -37,7 +37,7 @@ jobs:
3737
GH_PAGES: true
3838

3939
- name: Deploy
40-
uses: peaceiris/actions-gh-pages@v3
40+
uses: peaceiris/actions-gh-pages@v4
4141
with:
42-
deploy_key: ${{ secrets.GH_ACTIONS_DEPLOY_KEY }}
42+
github_token: ${{ secrets.GITHUB_TOKEN }}
4343
publish_dir: ./packages/site/build

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
node-version: [22.x]
1212
steps:
1313
- name: Checkout Repo
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1717
fetch-depth: 0
1818

1919
- name: Setup node
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node_version }}
2323

.github/workflows/version-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
node-version: [22.x]
1616
steps:
1717
- name: Checkout Repo
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2121
fetch-depth: 0
2222

2323
- name: Setup node
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node_version }}
2727

0 commit comments

Comments
 (0)