-
Notifications
You must be signed in to change notification settings - Fork 337
Allow users to specify worker directory when running wrangler publish
#482
Comments
+1 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity in the last 180 days. It will be closed if no further activity occurs in the next week. Please feel free to comment if you'd like it to remain open, and thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. You may re-open the issue if it is still relevant. |
💡 Feature request
Overview and problem statement
There are Wrangler users that may use workers in a monorepo; that is, they will have multiple generated workers in one repository. This means that, for actions like CI,
wrangler publish
may be run on a specific worker within a monorepo. This is a case where providing an optional path argument forwrangler publish
may be useful.Basic example
Include a basic code example of this new feature if possible. Omit this section if not applicable.
Let's say we have a repo with multiple generated workers directories:
If we want to deploy the worker in directory
a
from the root of this repo, we would runIf we are just deploying from a worker directory, the preexisting
wrangler publish
invocation should still work.The text was updated successfully, but these errors were encountered: