Skip to content

Commit 3d7803d

Browse files
committed
Build and Deploy Azure Web App
[skip ci]
1 parent 028e830 commit 3d7803d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

azure-pipelines.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Starter pipeline
2+
# Start with a minimal pipeline that you can customize to build and deploy your code.
3+
# Add steps that build, run tests, deploy, and more:
4+
# https://aka.ms/yaml
5+
6+
trigger:
7+
- master
8+
9+
pool:
10+
vmImage: ubuntu-latest
11+
12+
steps:
13+
- task: DotNetCoreCLI@2
14+
inputs:
15+
command: 'build'
16+
projects: '**/*.csproj'
17+
arguments: '--configuration Release'
18+
19+
- task: AzureWebApp@1
20+
inputs:
21+
azureSubscription: 'MPN-PPDAC(44784d4c-6035-4ca7-a965-76c30dc01901)'
22+
appType: 'webAppLinux'
23+
appName: 'Pipelines Demo'
24+
package: '$(System.DefaultWorkingDirectory)/**/*.zip'
25+
runtimeStack: 'DOTNETCORE|6.0'
26+
startUpCommand: 'dotnet run'

0 commit comments

Comments
 (0)