-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I’m attempting to deploy a Managed Component from my GitHub Actions pipeline to Cloudflare.
In CI/CD, I’d like to keep the project clean and simply set the build/deploy command to:
npx managed-component-to-cloudflare-worker ./dist/component.js myworkerHowever, the CLI currently prompts for confirmation:
Your Cloudflare Worker will be named "custom-mc-myworker".
Enter "y" to deploy with Wrangler:
Because stdin is empty in CI, the job ends up “succeeding” without actually deploying the worker.
Something similar to this would clean up a lot I think:
npx managed-component-to-cloudflare-worker ./dist/component.js myworker --yes --no-kvThanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels