@treeseed/sdk 0.10.14 → 0.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
purgePublishedContentCaches,
|
|
28
28
|
resolveConfiguredCloudflareAccountId,
|
|
29
29
|
resolveConfiguredSurfaceBaseUrl,
|
|
30
|
+
syncCloudflareSecrets,
|
|
30
31
|
writeDeployState
|
|
31
32
|
} from "./deploy.js";
|
|
32
33
|
import { currentManagedBranch, PRODUCTION_BRANCH, STAGING_BRANCH } from "./git-workflow.js";
|
|
@@ -201,6 +202,9 @@ function prepareTenantCloudflareDeploy({
|
|
|
201
202
|
runTenantDeployPreflight({ cwd: tenantRoot, scope });
|
|
202
203
|
}
|
|
203
204
|
const { wranglerPath, deployConfig, state } = ensureGeneratedWranglerConfig(tenantRoot, { target });
|
|
205
|
+
if (scope !== "local") {
|
|
206
|
+
syncCloudflareSecrets(tenantRoot, { target, dryRun });
|
|
207
|
+
}
|
|
204
208
|
const deployState = loadDeployState(tenantRoot, deployConfig, { target });
|
|
205
209
|
const pagesProjectName = target.kind === "persistent" ? deployState.pages?.projectName ?? null : null;
|
|
206
210
|
const pagesBranchName = target.kind === "persistent" ? target.scope === "prod" ? deployState.pages?.productionBranch ?? "main" : deployState.pages?.stagingBranch ?? "staging" : null;
|