Skip to content

Commit

Permalink
skip pushing to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsmits committed Jan 11, 2024
1 parent 0374e62 commit 9bdc81d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,23 @@ stages:
vmImage: $(vmImage)


- stage: deploy_gitHub
displayName: Deploy packages to GitHub
dependsOn: build
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) # not a PR
jobs:
- deployment: github
displayName: GitHub Packages
environment: GitHub
strategy:
runOnce:
deploy:
steps:
- template: push-nuget-package.yml@templates # Template reference
parameters:
artifact: NuGetPackages
source: https://nuget.pkg.github.com/FirelyTeam/index.json
apiKey: $(GITHUB_PACKAGES_APIKEY)
# - stage: deploy_gitHub
# displayName: Deploy packages to GitHub
# dependsOn: build
# condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) # not a PR
# jobs:
# - deployment: github
# displayName: GitHub Packages
# environment: GitHub
# strategy:
# runOnce:
# deploy:
# steps:
# - template: push-nuget-package.yml@templates # Template reference
# parameters:
# artifact: NuGetPackages
# source: https://nuget.pkg.github.com/FirelyTeam/index.json
# apiKey: $(GITHUB_PACKAGES_APIKEY)

- stage: deployToNuget
dependsOn: deploy_gitHub
Expand Down

0 comments on commit 9bdc81d

Please sign in to comment.