Skip to content

Commit b3bae0a

Browse files
committed
change structure a bit
1 parent fe17153 commit b3bae0a

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

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

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,25 @@ In this example, you will learn how to use the deployment options available with
44

55
This provides some control to the deployment process.
66

7-
| Option | Description |
8-
| --- | --- |
9-
| noBuildAndRestore | 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. Enabling this option will skip the `restore` and `build` process in the isolated instance. This can take a couple of minutes of the deployment process. The final deployment on the actual website still runs it's own Restore and Build, which cannot be skipped. |
10-
| skipVersionCheck | 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 autou pgraded in Umbraco Cloud, by accident. Enabling this option will skip that check and let any deployments with downgraded packages through. This is generally not recommended |
7+
## Option: skipVersionCheck
118

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 autoupgraded in Umbraco Cloud, by accident.
10+
11+
Enabling this option will skip that check and let any deployments with downgraded packages through.
12+
13+
**This is generally not recommended**
14+
15+
## Option: noBuildAndRestore
16+
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 take a couple of minutes of the deployment process.
20+
21+
The final deployment on the actual website still runs it's own Restore and Build, which cannot be skipped.
22+
23+
## How to enable the options
24+
25+
All the pipeline script generally follow the same structure. But there are some small details to be aware of.
1226

1327
{% tabs %}
1428
{% tab title="Azure DevOps Bash" %}

0 commit comments

Comments
 (0)