Skip to content

Commit 5965908

Browse files
committed
ci(site): deploy with pnpm dlx wrangler instead of wrangler-action
1 parent 345dacb commit 5965908

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/site.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ jobs:
3737
run: pnpm site:build
3838

3939
- name: Deploy to Cloudflare Pages
40-
uses: cloudflare/wrangler-action@v3
41-
with:
42-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
43-
accountId: 4d01e7a919eff82eb04333f27cb9da3b
44-
command: pages deploy apps/site/dist --project-name=afilmory-site --branch=main
40+
env:
41+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
42+
run: pnpm dlx wrangler@4 pages deploy apps/site/dist --project-name=afilmory-site --branch=main

0 commit comments

Comments
 (0)