Authentication error deploying Worker using Github actions

I've set up a Github action to deploy a Cloudflare worker based on the instructions here https://github.com/cloudflare/wrangler-action I created my API-Token as per the instructions and the deploy worked fine, until I added a preCommand to apply D1 migrations. The text pf the command is wrangler d1 migrations apply env_var_db --env production which works just fine from the command line That gives me an error Authentication error [code: 10000] from the Github action. I do have "All accounts - D1 Read, D1: Edit" set on the Api-Token I'm using. Is there anything else I need to add or some way to isolate the issue?
GitHub
GitHub - cloudflare/wrangler-action: 🧙‍♀️ zero-config cloudflare wo...
🧙‍♀️ zero-config cloudflare workers application deployment using wrangler and github actions - GitHub - cloudflare/wrangler-action: 🧙‍♀️ zero-config cloudflare workers application deployment using ...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server