File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
packages/common/src/config Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 5454 run : pnpm build:common
5555 env :
5656 VITE_CONTEXT : /opentiny.design/
57+ VITE_BASE : /opentiny.design/
5758 - name : Build home
5859 run : pnpm build
5960 env :
Original file line number Diff line number Diff line change 6363 run : |
6464 pnpm -F opentiny-design-common i --no-frozen-lockfile
6565 pnpm -F opentiny-design-home i --no-frozen-lockfile
66- - name : Build common
67- run : pnpm build:common
68- env :
69- VITE_CONTEXT : /
7066 - name : Get home version
7167 id : ver
7268 run : |
7874 fi
7975 echo "Home version: $VERSION"
8076 echo "value=$VERSION" >> $GITHUB_OUTPUT
77+ - name : Build common
78+ run : pnpm build:common
79+ env :
80+ VITE_CONTEXT : /
81+ VITE_BASE : //res-static.opentiny.design/tinyui-design/${{ steps.ver.outputs.value }}/home/
8182 - name : Build home
8283 run : pnpm build
8384 env :
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ const menuItems = [
197197 github : '' ,
198198 onClick : ( event : MouseEvent ) => {
199199 event . preventDefault ( ) ;
200- downloadFile ( `${ import . meta. env . VITE_CONTEXT } opentiny-design/downloadFile/TinyVue3.0_UI.KIT_202508.sketch` , 'TinyVue3.0_UI.KIT_202508.sketch' )
200+ downloadFile ( `${ import . meta. env . VITE_BASE } opentiny-design/downloadFile/TinyVue3.0_UI.KIT_202508.sketch` , 'TinyVue3.0_UI.KIT_202508.sketch' )
201201 }
202202 }
203203 ]
You can’t perform that action at this time.
0 commit comments