diff --git a/pipelines/templates/deploy-summary-container-app.yml b/pipelines/templates/deploy-summary-container-app.yml new file mode 100644 index 000000000..6329ea6a4 --- /dev/null +++ b/pipelines/templates/deploy-summary-container-app.yml @@ -0,0 +1,23 @@ +parameters: + azureSubscription: 'PROJECT_PORTAL (63b791ae-b2bc-41a1-ac66-806c4e69bffe)' + environment: '' + clientId: '' + imageName: '' + fusionEnvironment: 'fprd' + templateFile: $(Build.SourcesDirectory)src/Fusion.Summary.Api/Deployment/webapp.template.json + +steps: +- checkout: self +- task: AzurePowerShell@5 + displayName: 'Deploy ARM template' + inputs: + azureSubscription: ${{ parameters.azureSubscription }} + ScriptType: FilePath + FailOnStandardError: true + azurePowerShellVersion: 'LatestVersion' + ScriptPath: src/Fusion.Summary.Api/Deployment/deploy-webapp.ps1 + ScriptArguments: > + -environment ${{ parameters.environment }} + -clientId ${{ parameters.clientId }} + -fusionEnvironment ${{ parameters.fusionEnvironment }} + -imageName ${{ parameters.imageName }}