Skip to content

Commit 5f5d284

Browse files
committed
chore: fix doc deploy
1 parent a37fe28 commit 5f5d284

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.dumirc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ export default defineConfig({
1111
name: '@rc-component/async-validator',
1212
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
1313
},
14+
outputPath: '.docs-dist',
1415
});

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ coverage
3737
# dumi
3838
.dumi/tmp
3939
.dumi/tmp-production
40-
dist
40+
dist
41+
.docs-dist

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"scripts": {
2626
"compile": "father build",
2727
"docs:build": "dumi build",
28-
"docs:deploy": "gh-pages -d docs-dist",
29-
"gh-pages": "npm run docs:build && father doc deploy",
28+
"docs:deploy": "gh-pages -d .docs-dist",
29+
"gh-pages": "npm run docs:build && npm run docs:deploy",
3030
"lint": "eslint src --ext .tsx,.ts,.jsx,.js",
3131
"now-build": "npm run docs:build",
3232
"prepublishOnly": "npm run compile && np --yolo --no-publish",

0 commit comments

Comments
 (0)