Skip to content

Commit 2a2aae7

Browse files
fix this shjt deploy err
1 parent fb4109b commit 2a2aae7

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/static.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,14 @@ jobs:
3838
node-version: 18
3939
cache: npm
4040

41-
- name: Install dependencies
42-
run: npm ci
41+
- name: Install frontend dependencies
42+
run: npm ci --prefix frontend
4343

44-
- name: Build
45-
run: npm run build
44+
- name: Build frontend
45+
run: npm --prefix frontend run build
46+
47+
- name: Publish frontend build to root
48+
run: node scripts/publishRoot.js
4649

4750
- name: Setup Pages
4851
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)