diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..8033055 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,33 @@ +# Starter pipeline +- task: AzureRmWebAppDeployment@5 + inputs: + ConnectionType: 'AzureRM' + appType: 'webApp' + WebAppName: 'new-webapp' + deployToSlotOrASE: true + SlotName: 'production' + packageForLinux: '$(System.DefaultWorkingDirectory)/**/*.zip' +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' +- task: AzureRmWebAppDeployment@5 + inputs: + ConnectionType: 'AzureRM' + appType: 'webApp' + WebAppName: 'demoapp' + packageForLinux: '$(System.DefaultWorkingDirectory)/**/*.zip' \ No newline at end of file