There was an error while loading. Please reload this page.
1 parent eeb95a1 commit 5627147Copy full SHA for 5627147
1 file changed
.github/workflows/deploy.yml
@@ -63,11 +63,10 @@ jobs:
63
restore-keys: ${{ runner.os }}-cargo-
64
65
- name: Run D1 Migrations
66
- uses: cloudflare/wrangler-action@v3
67
- with:
68
- apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
69
- accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
70
- command: d1 migrations apply jakarta-backend --remote
+ run: npx wrangler d1 migrations apply jakarta-backend --remote
+ env:
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
+ CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
71
72
- name: Deploy Worker
73
uses: cloudflare/wrangler-action@v3
0 commit comments