Skip to content

Commit baf6b29

Browse files
Set up CI with Azure Pipelines
[skip ci]
1 parent d3aea7b commit baf6b29

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

azure-pipelines.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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: ArchiveFiles@2
14+
inputs:
15+
rootFolderOrFile: '$(Build.BinariesDirectory)/app'
16+
includeRootFolder: true
17+
archiveType: 'zip'
18+
archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
19+
replaceExistingArchive: true
20+
- task: AzureRmWebAppDeployment@5
21+
inputs:
22+
ConnectionType: 'AzureRM'
23+
azureSubscription: 'Paiement à l’utilisation(78b9a3d9-a777-4dad-8f72-5fc24f431d13)'
24+
appType: 'webAppLinux'
25+
WebAppName: 'VanessaDemo'
26+
packageForLinux: '$(System.DefaultWorkingDirectory)/**/*.zip'
27+
DeploymentTypeLinux: 'oneDeploy'
28+
echo Add other tasks to build, test, and deploy your project.
29+
echo See https://aka.ms/yaml
30+
displayName: 'Run a multi-line script'
31+

0 commit comments

Comments
 (0)