deployProjectSource
deployProjectSource(
options):Promise<DeployProjectSourceResult>
Defined in: packages/simply-cicd-core/src/sfDeploy.ts:57
Deploys project source to an org with source tracking, as
sf project deploy start --ignore-conflicts [--source-dir …] [--ignore-warnings] --wait <wait> does:
without sourceDirs, it deploys the tracked local changes (deletes included), and nothing to
deploy is not an error; with sourceDirs, it deploys those, and an empty set is.
Remote conflicts are ignored and tracking is updated after the deploy, as --ignore-conflicts
does. Anything short of a full success (partial success, failure, cancellation, or still running
at wait) throws, as the CLI exits non-zero for each of them.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<DeployProjectSourceResult>
Throws
Section titled “Throws”NothingToDeploy for empty sourceDirs; DeployFailed for any non-success.