From 74c6b6255a10968b6576a27f197bace7ccb67833 Mon Sep 17 00:00:00 2001 From: Aaron Adams Date: Wed, 4 Jan 2023 01:21:38 +0000 Subject: [PATCH] Document workingDirectory --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8ebbbcb..3f15015 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,10 @@ The branch name is used by Cloudflare Pages to determine if the deployment is pr If you are in a Git workspace, Wrangler will automatically pull the branch information for you. You can override this manually by adding the argument `branch: YOUR_BRANCH_NAME`. +### Specifying a working directory + +By default Wrangler will run in the root package directory. If your app lives in a monorepo and you want to run Wrangler from its directory, add `workingDirectory: YOUR_PACKAGE_DIRECTORY`. + ## Outputs | Name | Description |