Skip to content

Commit 02bba57

Browse files
committed
chore: align preview output directory
1 parent 3e0af0e commit 02bba57

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

.dumirc.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export default defineConfig({
1010
name: '@rc-component/progress',
1111
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
1212
},
13-
outputPath: 'docs-dist',
1413
base: basePath,
1514
publicPath,
1615
exportStatic: {},

.github/workflows/surge-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
surge_token: ${{ env.SURGE_TOKEN }}
3030
github_token: ${{ secrets.GITHUB_TOKEN }}
31-
dist: docs-dist
31+
dist: dist
3232
failOnError: true
3333
setCommitStatus: true
3434
build: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"start": "dumi dev",
2828
"build": "npm run docs:build",
2929
"docs:build": "dumi build",
30-
"docs:deploy": "gh-pages -d docs-dist",
30+
"docs:deploy": "gh-pages -d dist",
3131
"deploy": "npm run gh-pages",
3232
"compile": "father build",
3333
"prepare": "dumi setup",

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"framework": "umijs",
33
"installCommand": "npm install",
44
"buildCommand": "npm run build",
5-
"outputDirectory": "docs-dist"
5+
"outputDirectory": "dist"
66
}

0 commit comments

Comments
 (0)