Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support name option #203

Open
yuki0410-dev opened this issue Oct 28, 2023 · 2 comments
Open

support name option #203

yuki0410-dev opened this issue Oct 28, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@yuki0410-dev
Copy link

There are multiple WORKER entry points in my project. (I do not intend to monorepo...)
I deployed the command option in cloudflare/wrangler-action@v3 with --name and entry points. (I did not write name and main to share wrangler.toml).
However, I got an error where name was not specified in the part where wrangler secret put is executed.

✘ [ERROR] Required Worker name missing. Please specify the Worker name in wrangler.toml, or pass it as an argument with `--name <worker-name>`

I would like to see nameoption formally supported instead of writing it in command.

@admah admah added the enhancement New feature or request label Oct 30, 2023
@tmclaugh
Copy link

tmclaugh commented Jan 8, 2024

Ran into this issue as well. We use --name on our deploys to support feature branch deployments without requiring the addition of an environment to the toml file. When we started using secrets it resulted in the wrong function being updated. To workaround this we now dynamically add the environment as a preCommand step. Would like a cleaner solution.

@carafelix
Copy link

carafelix commented Jun 16, 2024

I would like to see name option formally supported instead of writing it in command.

How would you go about it in the command? I'm running into this same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants