Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions commerce-add-ons/packages/deploy/deploying-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,35 @@ After installing Umbraco Commerce Deploy, it will automatically serialize any ch
These files should be committed to your repository. Umbraco Deploy will then monitor these files and automatically deploy changes between environments for you.

Learn more about how the deployment process works in the [Umbraco Deploy documentation](https://docs.umbraco.com/umbraco-deploy/).

## Ignoring Settings

Some entities in Umbraco Commerce accept configuration settings such as Payment Methods, Shipping Methods, and Tax Calculation Methods. These settings can be environment-specific, and therefore, you may not want to deploy them between environments. To prevent this from happening, you can add the following configuration options to your `appsettings.json` file.

{% code title="appsettings.json" %}

```json
{
...
"Umbraco": {
"Commerce": {
"Deploy": {
"PaymentMethods": {
"IgnoreSettings": [ "liveApiKey", "testMode" ]
},
"ShippingMethods": {
"IgnoreSettings": [ "liveApiKey", "testMode" ]
},
"TaxCalculationMethods": {
"IgnoreSettings": [ "liveApiKey", "testMode" ]
}
}
}
}
...
}
```

{% encode %}

For each supported entity type, you can supply an `IgnoreSettings` option, which contains an array of aliases of the settings options to be ignored.