From bc07f728cf2acd5012961941d9d770f4dcf06809 Mon Sep 17 00:00:00 2001 From: Lucas Morgan Date: Sun, 5 Feb 2023 18:14:55 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8f39b93..a5f1347 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,6 +42,12 @@ steps: fileType: 'json' targetFiles: 'wwwroot/appsettings.json' +- task: FileTransform@1 + inputs: + folderPath: '$(System.DefaultWorkingDirectory)\$(apiProjectName)' + fileType: 'json' + targetFiles: 'appsettings.json' + - task: DotNetCoreCLI@2 inputs: command: 'publish'