Skip to content

Commit 7f5514c

Browse files
committed
Copilot language check
1 parent e4455b4 commit 7f5514c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/umbraco-cicd/samplecicdpipeline/advanced-deployment-options.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,25 @@
22

33
Here you will learn how to use the deployment options available with the v2 endpoints for CI/CD.
44

5-
This provides some control to the CI/CD deployment process within the isolated instance before your code is pushed to the cloud environment.
5+
This provides some control to the CI/CD deployment process within the isolated instance before your code is pushed to the Cloud environment.
66

77
## Option: skipVersionCheck
88

9-
When deploying, we will do an automatic check for Cloud dependency downgrades. This is to prevent customers from downgrading the packages that may have been auto upgraded on Umbraco Cloud, by accident.
9+
During deployment, the system will do an automatic check for downgrades of Cloud dependencies. This is to avoid customers from downgrading packages that may have been auto upgraded on Umbraco Cloud, by accident.
1010

11-
Enabling this option will skip that check and let any deployments with downgraded packages through.
11+
Enabling **skipVersionCheck** will bypass that safeguard and allow deployments that include downgraded packages.
12+
13+
{% hint style="info" %}
14+
Note: this option increases risk and is not recommended for normal workflows. Only enable it when you understand the package differences and accept the potential consequences.
15+
{% endhint %}
1216

1317
**This is generally not recommended**
1418

1519
## Option: noBuildAndRestore
1620

17-
The Umbraco CI/CD Flow runs the deployment in an isolated instance before doing the actual deployment to cloud. In the isolated instance we will try to do a `Dotnet restore` and `Dotnet build` of the incoming solution. This is a safeguard to prevent CI/CD isolated instance from sending broken code to the Umbraco Cloud environment.
18-
19-
Enabling this option will skip the **restore** and **build** process in the isolated instance. This can shorten the deployment process with a couple of minutes.
20-
21-
Keep in mind that the final KUDU deployment on the actual website still will run **Restore**, **Build** and **Publish**, which cannot be skipped.
21+
The Umbraco CI/CD flow runs the deployment in an isolated instance and performs `dotnet restore` and `dotnet build` to catch obvious build issues before deploying to Cloud. Enabling **noBuildAndRestore** skips the restore and build steps in that isolated instance, which can shorten deployment time by a few minutes.
22+
23+
Keep in mind the final Kudu deployment on the Cloud environment will still run **restore**, **build**, and **publish**; those steps cannot be skipped.
2224

2325
## How to enable the options
2426

0 commit comments

Comments
 (0)