GitHub Actions D1 Migrations

Hello, i would like to build a github action which deploys the worker to cloudflare and then runs D1 migrations after.
- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
postCommands: |
wrangler d1 migrations apply DB-NAME --remote
- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
postCommands: |
wrangler d1 migrations apply DB-NAME --remote
When i use the snipped above, I get the following logs (image). Can someone help me?
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server