Skip to content

Commit 7e9dc7c

Browse files
committed
fix typescript error and push to github pages
1 parent 3303469 commit 7e9dc7c

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,17 @@ jobs:
66
runs-on: ubuntu-latest
77
container:
88
image: oven/bun:debian
9+
permissions:
10+
contents: write
911
steps:
1012
- name: Checkout code
1113
uses: actions/checkout@v4
14+
1215
- name: build ui
13-
run: cd ui && bun install && bun run build
16+
run: cd ui && bun install && bun run build
17+
18+
- name: Deploy to GitHub Pages
19+
uses: JamesIves/github-pages-deploy-action@v4
20+
with:
21+
folder: ui/dist # The folder the action should deploy.
22+
branch: pages # The branch the action should deploy to.

ui/src/page/ZustandDemo.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function ZustandDemo() {
77
const particleCount = ConfettiStore((state: any) => state.particleCount);
88
const shapeSize = ConfettiStore((state: any) => state.shapeSize);
99
const spreadDeg = ConfettiStore((state: any) => state.spreadDeg);
10-
const colors = ConfettiStore((state: any) => state.colors);
1110
const fadeOutHeight = ConfettiStore((state: any) => state.fadeOutHeight);
1211
const setMode = ConfettiStore((state: any) => state.setMode);
1312

0 commit comments

Comments
 (0)