Allow skip publish DocMS or Github IO for each artifact (#648)

This commit is contained in:
Sima Zhu 2020-09-15 13:31:00 -07:00 committed by GitHub
parent 95f4034490
commit 9d83f2c7bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ stages:
ReleaseSha: $(Build.SourceVersion)
RepoId: Azure/azure-sdk-for-cpp
- ${{if ne(artifact.options.skipPublishDocs, 'true')}}:
- ${{if ne(artifact.skipPublishDocGithubIo, 'true')}}:
- deployment: PublishDocs
displayName: Publish Docs to GitHub pages
condition: ne(variables['Skip.PublishDocs'], 'true')
@ -69,7 +69,7 @@ stages:
# we override the regular script path because we have cloned the build tools repo as a separate artifact.
ScriptPath: '$(Build.SourcesDirectory)/eng/common/scripts/copy-docs-to-blobstorage.ps1'
- ${{if ne(artifact.options.skipUpdatePackageVersion, 'true')}}:
- ${{if ne(artifact.skipUpdatePackageVersion, 'true')}}:
- deployment: UpdatePackageVersion
displayName: "Update Package Version"
condition: and(succeeded(), ne(variables['Skip.UpdatePackageVersion'], 'true'))