Turborepo with GitHub integration

* Site: https://memolens.app * AccountId: d3d0378e716fdb8eec266de86fa0e960 * Deployment ID: 81ac55f7-c5c8-4627-b9a4-d5b741c37ee6 I am trying to deploy a Turborepo package (Next.js) with a GitHub integration. When I do a local deploy npx @cloudflare/next-on-pages everything works fine, when I do by GitHub integration it fails saying In a non-interactive environment, it's necessary to set a CLOUDFLARE_API_TOKEN environment variable for wrangler to work. I tried putting a secret on Dashboard and doing with Wrangler CLI, but it never finds this CLOUDFLARE_API_TOKEN. Am I doing something wrong? The configuration for the deploy is: Build command: npm run deploy (it targets a command on apps/web, using Turborepo filter, doing a npm run build and npx @cloudflare/next-on-pages) Build output directory: /.vercel/output/static Root directory: /
Memolens - Seu segundo cérebro.
Traga informações salvas para um lugar onde você possa conectá-las e pergunte à IA sobre isso
1 Reply
k9zect
k9zect2mo ago
did you get this resolved? i use github secrets and pass my token into the 'apiToken' field of the wrangler github action https://github.com/cloudflare/wrangler-action#usage
GitHub
GitHub - cloudflare/wrangler-action: 🧙‍♀️ easily deploy cloudflare ...
🧙‍♀️ easily deploy cloudflare workers applications using wrangler and github actions - cloudflare/wrangler-action
Want results from more Discord servers?
Add your server