-
Notifications
You must be signed in to change notification settings - Fork 157
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
How can you set worker secret for a specific environment? #251
Comments
+1, encountering the same issue. Using |
From looking at the source code, I found out that there's actually an |
Thanks @tien can you provide an example? |
I see what you are referring to, thank you. https://github.com/cloudflare/wrangler-action/blob/main/src/index.ts#L28 |
This saved me a lot of pain, thank you |
Assuming the worker name is
my-worker
doing the above would create 2 workers:my-worker
&my-worker-production
with the secrets only set formy-worker
.The text was updated successfully, but these errors were encountered: