Skip to content

@salesforce/b2c-tooling-sdk / operations/mrt / uploadBundle

Function: uploadBundle()

uploadBundle(client, projectSlug, bundle, target?): Promise<PushResult>

Defined in: packages/b2c-tooling-sdk/src/operations/mrt/push.ts:132

Uploads a pre-created bundle to MRT.

Use this if you've already created a bundle and want to upload it separately.

Parameters

client

MrtClient

MRT client instance

projectSlug

string

Project to upload to

bundle

Bundle

Bundle to upload

target?

string

Optional target to deploy to

Returns

Promise<PushResult>

Result of the upload

All rights reserved.