sfdx force:source:deploy
Deploy source to an org Use this command to deploy source (metadata that’s in source format) to an org
Options
Name | Description |
---|---|
--json | Format output as json |
--loglevel <loglevel> | Logging level for this command invocation |
-u, --targetusername <targetusername> | Username or alias for the target org; overrides default target org |
--apiversion <apiversion> | Override the api version used for api requests made by this command |
-c, --checkonly | Validate deploy but don’t save to the org |
--soapdeploy | Deploy metadata with SOAP API instead of REST API |
-w, --wait <wait> | Wait time for command to finish in minutes |
-l, --testlevel <testlevel> | Deployment testing level |
-r, --runtests <runtests> | Tests to run if --testlevel RunSpecifiedTests |
-o, --ignoreerrors | Ignore any errors and do not roll back deployment |
-g, --ignorewarnings | Whether a warning will allow a deployment to complete successfully |
-q, --validateddeployrequestid <validateddeployrequestid> | Deploy request ID of the validated deployment to run a Quick Deploy |
--verbose | Verbose output of deploy result |
-m, --metadata <metadata> | Comma-separated list of metadata component names |
-p, --sourcepath <sourcepath> | Comma-separated list of source file paths to deploy |
-x, --manifest <manifest> | File path for manifest (package.xml) of components to deploy |