We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e980f commit d566f28Copy full SHA for d566f28
1 file changed
.github/workflows/cloudflare-preview-deploy.yml
@@ -52,14 +52,16 @@ jobs:
52
with:
53
node-version: 22
54
55
+ - name: Install Wrangler
56
+ run: npm install -g wrangler@latest
57
+
58
- name: Deploy to Cloudflare Workers
59
id: deploy
- uses: cloudflare/wrangler-action@v3
- with:
- apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
60
- accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
61
- command: deploy --name md-pr-${{ steps.read-pr.outputs.pr_number }} --assets dist
62
- workingDirectory: apps/web
+ run: npx wrangler deploy --name md-pr-${{ steps.read-pr.outputs.pr_number }} --assets dist
+ working-directory: apps/web
+ env:
63
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
64
+ CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
65
66
- name: Get deployment URL
67
id: deployment-url
0 commit comments