Skip to content

Commit 3691255

Browse files
committed
fix: replace wrangler-action with direct wrangler CLI deploy
1 parent 21ff351 commit 3691255

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/web-deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ jobs:
3232
- run: pnpm --filter @kostech/web build
3333
env:
3434
NUXT_PUBLIC_SITE_URL: https://kostech.md
35+
- run: pnpm install -g wrangler
3536
- name: Deploy to Cloudflare Pages
36-
uses: cloudflare/wrangler-action@v3
37-
with:
38-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
39-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
40-
command: pages deploy apps/web/dist --project-name=kostech-web --branch=main
37+
run: npx wrangler pages deploy apps/web/dist --project-name=kostech-web --branch=main --account-id=${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
38+
env:
39+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)