Skip to content

Commit 484f980

Browse files
deepracticexcclaude
andcommitted
fix(ci): use npx directly for wrangler deployment
wrangler-action has issues with pnpm workspaces. Using npx directly is simpler and more reliable. Co-authored-by: Claude <noreply@anthropic.com>
1 parent f577746 commit 484f980

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/deploy-storybook.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ jobs:
3838
run: pnpm -F @uix/storybook build
3939

4040
- name: Deploy to Cloudflare Pages
41-
uses: cloudflare/wrangler-action@v3
42-
with:
43-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
44-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
45-
packageManager: npm
46-
command: pages deploy apps/storybook/storybook-static --project-name=uix
41+
env:
42+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
43+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
44+
run: npx wrangler pages deploy apps/storybook/storybook-static --project-name=uix

0 commit comments

Comments
 (0)