Skip to content

deployFromFolder

function deployFromFolder(
client,
deploymentName,
localDir,
options?): Promise<object[]>;

Upload every file under localDir to a deployment, preserving the relative tree under destPrefix. Node-only (reads the filesystem). Does not create the deployment or run the contract check — callers pair it with AuraClient.createDeployment and AuraClient.checkDeployment.

Parameter Type
client AuraClient
deploymentName string
localDir string
options DeployFromFolderOptions

Promise<object[]>