Advanced Setup: Deployment options
Option: skipVersionCheck
Option: noBuildAndRestore
How to enable the options
# Deploy to Umbraco Cloud
# ####
# you can edit the variables noBuildAndRestore and skipVersionCheck
# use booleans but as strings
- stage: CloudDeploymentStage
displayName: Deploy To Cloud
dependsOn: cloudPrepareArtifact
condition: in(dependencies.cloudPrepareArtifact.result, 'Succeeded')
variables:
artifactId: $[ stageDependencies.cloudPrepareArtifact.PrepareAndUploadArtifact.outputs['uploadArtifact.artifactId'] ]
jobs:
- template: cloud-deployment.yml
parameters:
artifactId: $(artifactId)
noBuildAndRestore: 'false'
skipVersionCheck: 'false' # Deploy to Umbraco Cloud
# ####
# you can edit the variables noBuildAndRestore and skipVersionCheck
# use booleans
- stage: CloudDeploymentStage
displayName: Deploy To Cloud
dependsOn: cloudPrepareArtifact
condition: in(dependencies.cloudPrepareArtifact.result, 'Succeeded')
variables:
artifactId: $[ stageDependencies.cloudPrepareArtifact.PrepareAndUploadArtifact.outputs['uploadArtifact.artifactId'] ]
jobs:
- template: cloud-deployment.yml
parameters:
artifactId: $(artifactId)
noBuildAndRestore: false
skipVersionCheck: false
Last updated
Was this helpful?