Skip to content

Commit dcda683

Browse files
committed
build: add bun lock
1 parent 4bdad46 commit dcda683

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v4
30-
- uses: oven-sh/setup-bun@v1
3130
- name: Install Deps
32-
run: bun install
31+
run: npm install
3332

3433
- name: Build
35-
run: bunx nuxi build --preset=cloudflare_pages
34+
run: npm run build --preset=cloudflare_pages
35+
36+
- uses: actions/upload-artifact@v4
37+
with:
38+
name: ${{env.PROJECT_NAME}}-dist
39+
path: ./dist/
3640

3741
- name: Deploy
3842
uses: cloudflare/wrangler-action@v3
@@ -42,7 +46,7 @@ jobs:
4246
with:
4347
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4448
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
45-
command: pages deploy ./dist --project-name "${{ env.PROJECT_NAME }}"
49+
command: pages deploy ./.output --project-name "${{ env.PROJECT_NAME }}"
4650
# secrets: |
4751
# YOUR_SECRET
4852
# YOUR_OTHER_SECRET

bun.lockb

434 KB
Binary file not shown.

0 commit comments

Comments
 (0)