Skip to content

Commit

Permalink
chore: fix doc deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Oct 16, 2023
1 parent a37fe28 commit 5f5d284
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export default defineConfig({
name: '@rc-component/async-validator',
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
},
outputPath: '.docs-dist',
});
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ coverage
# dumi
.dumi/tmp
.dumi/tmp-production
dist
dist
.docs-dist
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"scripts": {
"compile": "father build",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"gh-pages": "npm run docs:build && father doc deploy",
"docs:deploy": "gh-pages -d .docs-dist",
"gh-pages": "npm run docs:build && npm run docs:deploy",
"lint": "eslint src --ext .tsx,.ts,.jsx,.js",
"now-build": "npm run docs:build",
"prepublishOnly": "npm run compile && np --yolo --no-publish",
Expand Down

0 comments on commit 5f5d284

Please sign in to comment.