Skip to content

Commit a3851fb

Browse files
committed
Putting deploy back into build pipeline
1 parent 1d17d00 commit a3851fb

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

azure-pipelines.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -50,27 +50,27 @@ stages:
5050
- publish: $(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip
5151
artifact: drop
5252

53-
# - stage: Deploy
54-
# displayName: Deploy stage
55-
# dependsOn: Build
56-
# condition: succeeded()
53+
- stage: Deploy
54+
displayName: Deploy stage
55+
dependsOn: Build
56+
condition: succeeded()
5757

58-
# jobs:
59-
# - deployment: Deploy
60-
# displayName: Deploy
61-
# environment: 'development'
62-
# pool:
63-
# vmImage: $(vmImageName)
58+
jobs:
59+
- deployment: Deploy
60+
displayName: Deploy
61+
environment: 'development'
62+
pool:
63+
vmImage: $(vmImageName)
6464

65-
# strategy:
66-
# runOnce:
67-
# deploy:
65+
strategy:
66+
runOnce:
67+
deploy:
6868

69-
# steps:
70-
# - task: AzureFunctionApp@1
71-
# displayName: 'Azure functions app deploy'
72-
# inputs:
73-
# azureSubscription: '$(azureSubscription)'
74-
# appType: functionApp
75-
# appName: $(functionAppName)
76-
# package: '$(Pipeline.Workspace)/drop/$(Build.BuildId).zip'
69+
steps:
70+
- task: AzureFunctionApp@1
71+
displayName: 'Azure functions app deploy'
72+
inputs:
73+
azureSubscription: '$(azureSubscription)'
74+
appType: functionApp
75+
appName: $(functionAppName)
76+
package: '$(Pipeline.Workspace)/drop/$(Build.BuildId).zip'

0 commit comments

Comments
 (0)