Skip to content

Commit 3e00aca

Browse files
barckcodeclaude
andcommitted
Fix deploy workflow: use wrangler deploy instead of pages deploy
The project uses Cloudflare Workers with static assets, not legacy Pages. Switch to `wrangler deploy` which reads wrangler.jsonc config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1238eff commit 3e00aca

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
deploy:
9-
name: Build & Deploy to Cloudflare Pages
9+
name: Build & Deploy to Cloudflare Workers
1010
runs-on: ubuntu-latest
1111

1212
permissions:
@@ -36,8 +36,8 @@ jobs:
3636
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3737
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3838

39-
- name: Deploy to Cloudflare Pages
40-
run: npx wrangler pages deploy dist --project-name=nan-website
39+
- name: Deploy to Cloudflare Workers
40+
run: npx wrangler deploy
4141
env:
4242
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4343
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 commit comments

Comments
 (0)