Skip to content

Commit af24391

Browse files
committed
fix github action
1 parent 0b9c7a6 commit af24391

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: checkout
13-
uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
15-
with:
16-
node-version: "16"
13+
uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
- uses: oven-sh/setup-bun@v2
1716
- name: install
18-
run: yarn
17+
run: bun i
1918
- name: Deploy with gh-pages
2019
run: |
2120
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
22-
npm run deploy -- -u "github-actions-bot <[email protected]>"
21+
bun run deploy -- -u "github-actions-bot <[email protected]>"
2322
env:
2423
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)