Skip to content

Commit

Permalink
Merge pull request #27 from ant-design/pr-preview-check
Browse files Browse the repository at this point in the history
chore: PR preview publicPath
  • Loading branch information
jeasonstudio authored Oct 7, 2023
2 parents 5d16d82 + 84b7b66 commit 433ce63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export default defineConfig({
],
},
// TODO: remove after get a domain
publicPath: '/ant-design-web3/',
base: '/ant-design-web3',
publicPath: process.env.PUBLIC_PATH || '/ant-design-web3/',
base: process.env.BASE || '/ant-design-web3',
themeConfig: {
name: 'Ant Design Web3',
logo: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:

- name: Build
run: |
export PUBLIC_PATH=/
export BASE=/
npm i pnpm -g
pnpm install
pnpm run build
Expand Down

0 comments on commit 433ce63

Please sign in to comment.