Skip to content

Commit 0c0d1f2

Browse files
authored
Merge branch 'master' into feat/static_ci
2 parents f642165 + eb66e10 commit 0c0d1f2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/static.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ jobs:
6868
with:
6969
github_token: ${{ secrets.GITHUB_TOKEN }}
7070
publish_dir: ./dist # 构建后的静态文件目录
71-
force_orphan: true
71+
force_orphan: true
72+

config/config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default {
3737
dynamicImport: {},
3838
manifest: {},
3939
hash: true,
40+
publicPath: './',
4041
alias: {
4142
ahooks: process.cwd() + '/packages/hooks/src/index.ts',
4243
'@ahooksjs/use-url-state': process.cwd() + '/packages/use-url-state/src/index.ts',
@@ -50,7 +51,7 @@ export default {
5051
rel: 'stylesheet',
5152
href: 'https://unpkg.com/@alifd/[email protected]/dist/next-noreset.min.css',
5253
},
53-
{ rel: 'stylesheet', href: '/style.css' },
54+
{ rel: 'stylesheet', href: './style.css' },
5455
],
5556
navs: {
5657
'zh-CN': [

0 commit comments

Comments
 (0)