File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,17 @@ jobs:
12
12
deploy :
13
13
runs-on : ubuntu-latest
14
14
timeout-minutes : 15
15
- strategy :
16
- matrix :
17
- node-version : [latest]
18
15
steps :
19
16
- name : checkout code repository
20
17
uses : actions/checkout@v3
21
18
with :
22
19
fetch-depth : 0
23
20
- name : Switch to site branch
24
21
run : git checkout -b gh-pages
25
- - name : Use Node.js ${{ matrix.node-version }}
22
+ - name : Use Node.js 20
26
23
uses : actions/setup-node@v3
27
24
with :
28
- node-version : ${{ matrix.node-version }}
25
+ node-version : 20
29
26
- name : install pnpm
30
27
run : npm i pnpm@latest -g
31
28
- name : Setup npmrc
Original file line number Diff line number Diff line change 24
24
"scripts" : {
25
25
"build" : " cross-env NODE_OPTIONS=--max_old_space_size=12288 dumi build" ,
26
26
"develop" : " cross-env DUMI=true dumi dev" ,
27
- "deploy" : " pnpm run build && gh-pages -d public " ,
27
+ "deploy" : " pnpm run build && gh-pages -d dist " ,
28
28
"start" : " cross-env NODE_OPTIONS=--max_old_space_size=8192 pnpm run develop"
29
29
},
30
30
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments