Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Ryan Newington
2023-02-04 10:43:50 +11:00
parent d81cbe4d63
commit f4e212809d
+3 -3
View File
@@ -231,7 +231,7 @@ stages:
dependsOn: "build_provider" dependsOn: "build_provider"
jobs: jobs:
- deployment: 'PublishPackages' - deployment: 'PublishPackages'
environment: 'Production' environment: 'Public nuget feed'
displayName: Publish packages to public nuget feed displayName: Publish packages to public nuget feed
pool: pool:
vmImage: windows-2022 vmImage: windows-2022
@@ -258,7 +258,7 @@ stages:
dependsOn: "build_psmodule" dependsOn: "build_psmodule"
jobs: jobs:
- deployment: 'PublishPackages' - deployment: 'PublishPackages'
environment: 'Production' environment: 'PowerShell Gallery'
displayName: Publish packages to public PSGallery displayName: Publish packages to public PSGallery
pool: pool:
vmImage: windows-2022 vmImage: windows-2022
@@ -274,5 +274,5 @@ stages:
inputs: inputs:
targetType: 'inline' targetType: 'inline'
script: | script: |
Publish-Module -Name Lithnet.CredentialProvider.Management -Path "$(Pipeline.Workspace)\ps" -NuGetApiKey "$(psgallery.apikey)" Publish-Module -Path "$(Pipeline.Workspace)\ps" -NuGetApiKey "$(psgallery.apikey)"