Skip to content

Commit 9c6836e

Browse files
chore: fix deploy config error
1 parent 7e8ba06 commit 9c6836e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ permissions:
1212
id-token: write
1313

1414
jobs:
15-
build and deploy:
15+
build:
1616
runs-on: ubuntu-latest
17-
1817
steps:
1918
- name: Checkout code
2019
uses: actions/checkout@v4
21-
2220
- name: Set up Node.js
2321
uses: actions/setup-node@v4
2422
with:
2523
node-version: '20.x' # 根据需要设置 Node.js 版本
26-
2724
- name: Install dependencies
2825
run: npm install -g pnpm && pnpm install
29-
3026
- name: Build and export
3127
run: pnpm run build
3228

29+
30+
deploy:
31+
runs-on: ubuntu-latest
32+
steps:
3333
- name: Deploy to GitHub Pages
3434
uses: peaceiris/actions-gh-pages@v3
3535
with:

0 commit comments

Comments
 (0)