Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit 8eacfff

Browse files
committed
fix bug of gui builder
1 parent ee49c25 commit 8eacfff

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ jobs:
2323
run: |
2424
cd gui
2525
npm install
26-
npm run build
27-
mkdir -p deploy/gui
28-
cd .. && mv gui/dist deploy/gui/
26+
npm run release
2927
3028
3129
- name: Use Golang

gui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "vue-tsc --noEmit && vite build",
9+
"release": "vue-tsc --noEmit && vite build --emptyOutDir --outDir ../deploy/gui",
910
"preview": "vite preview",
1011
"prepare": "node -e \"if(require('fs').existsSync('.git')){process.exit(1)}\" || is-ci || husky install"
1112
},

0 commit comments

Comments
 (0)