Incremental/Partial Deployment using SalesforceDX

610 views Asked by At

Is there any way to make Incremental/Partial Deployment using SalesforceDX. So that only the components that are changed are deployed, instead of a full build?

2

There are 2 answers

3
Emmanuel Ngenoh On

If you are deploying to a scratch org, unfortunately you can only push all changes that have been made locally to the org.

However, if you are deploying to a Dev Hub org, you can right click on the component's folder and click "Deploy Source to Org"

deploying source to org

1
Tomek On

You can also decide which files you would like to deploy using coma separated list like this:

sfdx force:source:deploy -p path/file1, path/file2, …