@@ -124,14 +124,14 @@ jobs:
124124 script : |
125125 npm i -g netlify-cli
126126 netlify deploy --prod --open --site=$(NETLIFY_MASTER_DOC_SITEID) --auth=$(NETLIFY_TOKEN) --dir=docs/_site
127- - task : PowerShell@2
128- displayName : Deploy Dev Documentation to Netlify
129- condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
130- inputs :
131- targetType : inline
132- script : |
133- npm i -g netlify-cli
134- netlify deploy --prod --open --site=$(NETLIFY_DEV_DOC_SITEID) --auth=$(NETLIFY_TOKEN) --dir=docs/_site
127+ # - task: PowerShell@2
128+ # displayName: Deploy Dev Documentation to Netlify
129+ # condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
130+ # inputs:
131+ # targetType: inline
132+ # script: |
133+ # npm i -g netlify-cli
134+ # netlify deploy --prod --open --site=$(NETLIFY_DEV_DOC_SITEID) --auth=$(NETLIFY_TOKEN) --dir=docs/_site
135135 - job : Deploy
136136 dependsOn :
137137 - Windows
@@ -144,18 +144,18 @@ jobs:
144144 displayName : Download Artifacts from other jobs
145145 inputs :
146146 buildType : ' current'
147- # - task: NuGetCommand@2
148- # displayName: "Push NuGet packages to NuGet.org"
149- # condition: succeeded()
150- # inputs:
151- # command: "push"
152- # nuGetFeedType: "external"
153- # packagesToPush: "$(System.ArtifactsDirectory)/artifacts-Release/**/!(*.symbols).nupkg"
154- # allowPackageConflicts: false
155- # publishFeedCredentials: "NuGet.org"
147+ - task : NuGetCommand@2
148+ displayName : " Push NuGet packages to NuGet.org"
149+ condition : and( succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master') )
150+ inputs :
151+ command : " push"
152+ nuGetFeedType : " external"
153+ packagesToPush : " $(System.ArtifactsDirectory)/artifacts-Release/**/!(*.symbols).nupkg"
154+ allowPackageConflicts : false
155+ publishFeedCredentials : " NuGet.org"
156156 - task : GitHubRelease@0
157157 displayName : Upload Unity zip to Github
158- # condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
158+ condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
159159 inputs :
160160 gitHubConnection : " release"
161161 repositoryName : " buttplugio/buttplug-csharp"
0 commit comments