Skip to content

Commit 444e6cf

Browse files
committed
deploy workflow fix
1 parent baefcc9 commit 444e6cf

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,30 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919

20+
- name: Setup pnpm
21+
uses: pnpm/action-setup@v2
22+
with:
23+
version: 8.15.0
24+
2025
- name: Setup Node.js
2126
uses: actions/setup-node@v4
2227
with:
2328
node-version: '20'
24-
cache: 'npm'
29+
cache: 'pnpm'
2530

2631
- name: Install dependencies
27-
run: npm ci
32+
run: pnpm install --frozen-lockfile
2833

29-
- name: Build
30-
run: npm run build
34+
- name: Build for deployment
35+
run: pnpm build:vercel
3136

3237
- name: Setup Pages
3338
uses: actions/configure-pages@v4
3439

3540
- name: Upload artifact
3641
uses: actions/upload-pages-artifact@v3
3742
with:
38-
path: './dist'
43+
path: './packages/website/dist'
3944

4045
- name: Deploy to GitHub Pages
4146
id: deployment

0 commit comments

Comments
 (0)