Skip to content

Commit

Permalink
don't deploy disabled tables
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Jul 29, 2024
1 parent 2c6132c commit f88734f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cli/src/runDeploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ export async function runDeploy(opts: DeployOptions): Promise<WorldDeploy> {

console.log("Deploying from", client.account.address);

const tables = Object.values(config.namespaces).flatMap((namespace) => Object.values(namespace.tables));
const tables = Object.values(config.namespaces)
.flatMap((namespace) => Object.values(namespace.tables))
.filter((table) => !table.deploy.disabled);

const startTime = Date.now();
const worldDeploy = await deploy({
Expand Down

0 comments on commit f88734f

Please sign in to comment.