Skip to content

Commit a8103b7

Browse files
committed
fix: use global wrangler install to avoid yarn workspace conflict
1 parent 8f8051c commit a8103b7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/arch-docs.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ jobs:
2424
supermodel-api-key: ${{ secrets.SUPERMODEL_API_KEY }}
2525
base-url: /supabase/
2626

27+
- name: Install wrangler
28+
run: npm install -g wrangler@3
29+
2730
- name: Deploy to Cloudflare Pages
28-
uses: cloudflare/wrangler-action@v3
29-
with:
30-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
31-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
32-
command: pages deploy ./arch-docs-output --project-name=gtd-supabase --branch=main
31+
env:
32+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
33+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
34+
run: wrangler pages deploy ./arch-docs-output --project-name=gtd-supabase --branch=main

0 commit comments

Comments
 (0)