Skip to content

Commit da63e35

Browse files
fix: fix workflow
1 parent 8867db7 commit da63e35

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ jobs:
4646
run: |
4747
cd apps/dice-verse
4848
npm run build
49-
50-
- name: Copy dice-verse build to dist
51-
run: |
52-
cp -r apps/dice-verse/dist dist/dice-verse
5349
5450
- name: Install dependencies
5551
run: |
@@ -60,16 +56,14 @@ jobs:
6056
run: |
6157
cd apps/spin-art
6258
npm run build
63-
64-
- name: Copy spin-art build to dist
59+
60+
- name: Copy all builds to dist
6561
run: |
66-
cp -r apps/spin-art/dist dist/spin-art
62+
mkdir -p dist/{dice-verse,spin-art}
63+
cp -r apps/dice-verse/dist/* dist/dice-verse/
64+
cp -r apps/spin-art/dist/* dist/spin-art/
65+
cp index.html dist/
6766
68-
- name: Copy main index.html
69-
run: |
70-
mkdir -p dist
71-
cp index.html dist/index.html
72-
7367
- name: Setup Pages
7468
uses: actions/configure-pages@v4
7569

0 commit comments

Comments
 (0)